uploadWidgetStatusTool
List the media the user uploaded with the upload widget, using the sessionId returned by uploadWidgetTool. It lists only the files uploaded in that widget session, not the whole media library. An empty list means the user did not upload anything yet. A media with the status "processing" is still being prepared: wait about 10 seconds and call again. A media with the status "ready" can be used as a post attachment with its { id, path }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "uploadWidgetStatusTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The sessionId returned by uploadWidgetTool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| media | No |