agentle.mcp.models.call_tool_resultΒΆ
Call Tool Result module for MCP.
This module defines the CallToolResult class which represents the response from a tool invocation in the Model Control Protocol (MCP) system. It provides a structure for returning various content types (text, images, resources) along with metadata and error status from tool executions.
Functions
|
!!! abstract "Usage Documentation" |
Classes
|
Alias for pydantic.BaseModel. |
|
The server's response to a tool call in the MCP system. |
|
The contents of a resource, embedded into a prompt or tool call result. |
|
Image content for a message in the MCP system. |
|
All the operations on a read-only sequence. |
|
Text content for a message in the MCP system. |