Upload File
glitch_upload_fileUpload a local image, video, or document to a Glitch title or run, making it a run attachment and reference material.
Instructions
Upload a local image, video, or document (e.g. a screenshot, gameplay clip, or brief) to a Glitch title or run. Files become run attachments and potential social assets, treated as reference material behind the prompt-injection boundary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "glitch_upload_file"
}
}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. | |
| agent_run_id | No | Attach the file to a specific run. | |
| file_path | No | Path to a local file (image, video, or document) on the machine running this MCP. stdio only. | |
| content_base64 | No | Base64-encoded file contents. Use this instead of file_path over the HTTP transport. Requires file_name. | |
| file_name | No | File name. Inferred from file_path when omitted; required with content_base64. | |
| mime_type | No | MIME type. Inferred from the file extension when omitted. |