Upload a picture file
start_project_pictureStep 1 of adding a picture that is a file on your computer (PNG, JPEG or WebP, up to 10 MB). Returns a one-time upload address: PUT the file's bytes there with its Content-Type, then call finish_project_picture with upload_id. rendering true (or a role) = one of the project's own pictures, shown large; item_id = that item's picture; neither = a project file. On a project Claude sources, role rendering shows it in the Design phase under its space (and its option), role layout in the Install phase. Owner only. Needs the owner's sign-in.
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": {
"project_id": "<project_id>",
"file_name": "<file_name>",
"content_type": "<content_type>"
},
"name": "start_project_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | rendering: a design picture, shown in the Design phase under its space; layout: an install map, shown in the Install phase | |
| space | No | For a rendering: the space it shows, the same words as that space's item section, e.g. Lobby, Dragon's Den; empty clears | |
| option | No | For a rendering of a design option: its letter (A, B…), as on that option's items; empty clears | |
| caption | No | The picture's title, e.g. "Lobby · front desk" | |
| item_id | No | Item id, for an item's picture | |
| file_name | Yes | The file's name, e.g. lobby_desk.jpg | |
| rendering | No | true for a final rendering of the project | |
| project_id | Yes | Project id | |
| content_type | Yes |