Skip to content
Developer Preview

PluginDataToolCall

Experimental

A tool call’s name and timing, never its input or output.

  • endedAt — Experimental
  • itemId — Experimental
  • outcome — Experimental
  • root — Experimental
  • sessionId — Experimental
  • startedAt — Experimental
  • tool — Experimental
  • turnId — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/PluginDataToolCall

{
"description": "A tool call's name and timing, never its input or output.",
"properties": {
"endedAt": {
"type": [
"string",
"null"
]
},
"itemId": {
"description": "The `toolCall` item's `itemId`, never the provider's `callId`, which\ntwo calls can share. With `sessionId` it keys the record, because a\nfork or rewind child repeats its source's IDs.",
"type": "string"
},
"outcome": {
"$ref": "#/$defs/PluginDataToolOutcome"
},
"root": {
"type": "string"
},
"sessionId": {
"type": "string"
},
"startedAt": {
"type": [
"string",
"null"
]
},
"tool": {
"description": "At most 128 UTF-16 code units.",
"type": "string"
},
"turnId": {
"type": "string"
}
},
"required": [
"endedAt",
"itemId",
"outcome",
"root",
"sessionId",
"startedAt",
"tool",
"turnId"
],
"type": "object",
"x-msp-descriptor": "pluginData/read",
"x-msp-stability": "experimental"
}