SDKControlMcpCallRequest
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| _ControlBase clawd_code_sdk.models.control Frozen base for all SDK control request models. |
|
⋔ Inheritance diagram¶
graph TD
4258952589["control.SDKControlMcpCallRequest"]
1268774935["control._ControlBase"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
1268774935 --> 4258952589
3879467795 --> 1268774935
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: _ControlBase
Invokes an MCP tool via the subprocess MCP client without a model turn.
No permission check (control channel is trusted, same as other subtypes). SDK-type MCP servers (config.type === "sdk") are rejected — they are caller-provided, so the caller can invoke them directly without the subprocess round-trip. Result content passes through the same processing as model-turn MCP calls. Session expiry is not retried automatically; callers can mcp_reconnect and retry. UrlElicitationRequired (-32042) tries Elicitation hooks; if no hook resolves, the call errors with the URL in the message — open it out-of-band, then retry mcp_call.