Upload status
upload_statusStep 2 of putting a binary file into the knowledge base: reports whether a file uploaded via create_upload has finished being processed. A successful PUT only means the bytes arrived - parsing and indexing happen asynchronously afterwards, so the file is not readable until this returns complete. Returns not_found before processing starts, pending while it runs, complete when the file is in the knowledge base, or failed (with a message) when processing gave up. Stop polling on failed and tell the user: retrying the PUT will not help until whoever runs the platform has fixed what the message names.
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": {
"path": "<path>",
"context": "<context>"
},
"name": "upload_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The same path given to create_upload, e.g. '/reports/q3.pdf'. | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| workspace_id | No | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| status | Yes | ||
| message | No |