Return shape to request auth
If a tool detects missing authorization, return a JSON string containing the following fields:auth_required: set totrueto signal an interrupt is needed.auth_url: where the user should be redirected to authorize.auth_id: optional correlation ID to track the auth session.
Return only this JSON as the tool’s output. Avoid including additional text or content. Fleet parses the response to trigger the authentication flow.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

