create_asset_upload_ticket
Get a single-use URL to PUT raw file bytes. For a new asset, supply request.asset_path. To replace a file, pass its id and omit asset_path. Optional request.public_access_requested changes its public access. Complete the upload using an HTTP client with access to the file.
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": {
"request": "<request>"
},
"name": "create_asset_upload_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | Operation result. Check success before using this value. | |
| error | No | Error details when the operation failed; null on success. | |
| success | No | Whether the operation succeeded. If false, inspect error before retrying. |