Create Upload URL
glitch_create_upload_urlGenerate a temporary upload URL to attach a file to a Glitch Agent title or run, enabling direct file submission for game marketing tasks.
Instructions
Create a short-lived upload URL for attaching a file to a Glitch Agent title or run.
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": {
"file_name": "<file_name>",
"mime_type": "<mime_type>",
"size_bytes": "<size_bytes>"
},
"name": "glitch_create_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title_id | No | Glitch game title id. Omit only after calling glitch_select_title or setting GLITCH_TITLE_ID. | |
| file_name | Yes | ||
| mime_type | Yes | ||
| size_bytes | Yes | ||
| agent_run_id | No | Glitch agent run id. |