ToolCallResult#
- class scikitplot.corpus.ToolCallResult(call_id, content, is_error=False, error_message=None)[source]#
Result returned from a Model Context Protocol tool call.
Note
Protocol-neutral payload shape, not an MCP wire model. Corpus does not own the Model Context Protocol wire format (see the submodule ownership split). Adding a
pydanticmodel, anmcpSDK import, or protocol-version handling to this class would move wire concerns into Corpus and violate that boundary. Finding F-R15-01 / P-I0-13.- Parameters:
- call_idstr
Identifier matching the originating
ToolCallInput.- contentAny
Tool result payload (str, list, dict, …).
- is_errorbool
Trueif the tool raised an error.- error_messagestr or None
Error description when
is_errorisTrue.
- Parameters: