attach_photo
Attach a photo to a specified object in the QC database, with an optional caption.
Instructions
Attach a photo to an object (for example object_type='map_item' with that item's id). Optionally add a caption.
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": {
"object_type": "<object_type>",
"object_id": "<object_id>",
"file_path": "<file_path>"
},
"name": "attach_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_type | Yes | ||
| object_id | Yes | ||
| file_path | Yes | ||
| caption | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |