Skip to content

FrontendImageInjectionConfig

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/middleware/types.ts:92

Configuration for frontend image injection middleware (RC-22). Converts a frontend capture tool’s {mimeType,data} tool result into a vision HumanMessage the model can see. Opt-in — resolved only when named in config.middleware.

optional toolName?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/middleware/types.ts:97

Name of the frontend capture tool whose result is converted into a vision message. Defaults to capture_image.