MCPToolResult
The MCP content payload returned by every tool handler. The index signature keeps this structurally compatible with the MCP SDK's CallToolResult, which allows extra fields.
Indexable
[
key:string]:unknown
Properties
content
content:
object[]
text
text:
string
type
type:
"text"
isError?
optionalisError?:boolean