Upload files
upload_filesStarts resumable uploads for capture files the agent holds (for example photos or video shared in the conversation) and returns where to PUT each file's bytes. Files on the person's own device are dropped on the space's page instead.
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": {
"space_id": "<space_id>",
"files": "<files>"
},
"name": "upload_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| space_id | Yes | The space ID (12 hexadecimal characters) from create_space or space_status. |