"parts": [
{
"type": "step-start"
},
{
"type": "tool-myTool",
"toolCallId": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
"state": "input-available",
"input": {
}
},
{
"type": "data-tool-call-approval",
"id": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
// missing "state" key, expected state: "state": "data-tool-call-approval"
"data": {
"runId": "a46f93b6-6d7e-47e4-861d-3a60c9516eb8",
"toolCallId": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
"toolName": "myTool",
"args": {
},
"resumeSchema": ""
}
}
]
"parts": [
{
"type": "step-start"
},
{
"type": "tool-myTool",
"toolCallId": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
"state": "input-available",
"input": {
}
},
{
"type": "data-tool-call-approval",
"id": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
// missing "state" key, expected state: "state": "data-tool-call-approval"
"data": {
"runId": "a46f93b6-6d7e-47e4-861d-3a60c9516eb8",
"toolCallId": "tooluse_mtSdZ9yPnPjE17KjVUorP4",
"toolName": "myTool",
"args": {
},
"resumeSchema": ""
}
}
]