Add a plan, photo or video
add_filePlan/photo/video into a draft or made house (its ID). Video MP4/MOV, 50MB, never served. Data URI or upload link. readable=false: unreadable.
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": {
"draft_id": "<draft_id>",
"kind": "<kind>"
},
"name": "add_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| tag | No | ||
| file | No | ||
| kind | Yes | ||
| note | No | ||
| floor | No | ||
| scale | No | 1:<n> as printed (1:100); none: omit, px per metre in note | |
| draft_id | Yes | ||
| filename | No | ||
| readable | No | ||
| plan_kind | No |