add_attachments_to_project
Saves PDF files attached to the current message as project documents, deduplicating by content and recording same-named sheets with new content as revisions.
Instructions
For a SMALL PDF the person attached in the composer of THIS message (a real plan set is dropped on the panel and uploaded by the app directly, never through you — if you were told plans were added, they are already saved, do not call this). Saves the attached PDF files into the open project as its documents — the same thing the Documents drop zone does (dedup by content; a same-named sheet with new content is recorded as a revision). Only PDFs attached to the current message are available; screenshots are never saved as plans. Returns the files now on the project and the document summary (pages, size class). Explicitly classified specifications queue local indexing automatically: check get_spec_index, then use bounded cited source reads. Unclassified documents need the user's type selection before paid reading. For drawings, use start_parse after the person requests reading. Never show AI usage or dollar estimates 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": {
"project_id": "<project_id>"
},
"name": "add_attachments_to_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project to work on (list_projects names them). |