某些工具需要用户授权(例如 Google、Slack、GitHub)。LangSmith Fleet 包含中间件,用于检测工具何时需要授权,并暂停运行,同时向用户显示清晰的提示。用户完成身份验证后,系统会自动重试相同的工具调用。Documentation Index
Fetch the complete documentation index at: https://langchain-zh.cn/llms.txt
Use this file to discover all available pages before exploring further.
请求身份验证的返回格式
如果工具检测到缺少授权,请返回包含以下字段的 JSON 字符串:auth_required:设置为true以表示需要中断。auth_url:用户应重定向至此处进行授权。auth_id:可选的相关 ID,用于跟踪身份验证会话。
仅将此 JSON 作为工具的输出返回。避免包含额外的文本或内容。Fleet 会解析响应以触发身份验证流程。
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

