Upload Attachment
upload-attachmentUpload a file (e.g. agent screenshot evidence) to explore-snaps and return a stable view URL. Pass --file ; optional --filename and --content-type. Response includes viewUrl to paste in chat.
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": "<file>"
},
"name": "upload-attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| filename | No | ||
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| contentType | No | ||
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. |