Import attached reference document
import_design_source_attachmentImport an already attached supplier PDF, requirements TXT, CSV heat map/table or PNG/JPEG using the file reference supplied by the chat host. Prefer this over another file picker when the host supplies the attachment. The API fetches and verifies the bytes, returning a ready artifact for read_design_source; then continue the user's existing request. Never invent a download URL/file ID, use a local path or expose the temporary URL. If the host cannot provide a transferable attachment, use open_design_source_upload once. Images remain visual evidence, not measured dimensions or numeric heat maps. Does not start engineering compute. May return a pending operation_id instead of the finished result. Continue with get_operation at retry_after_seconds intervals; on success use result, then continue the requested workflow. Do not resubmit to check progress.
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>",
"filename": "<filename>",
"media_type": "<media_type>",
"file": "<file>"
},
"name": "import_design_source_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| sha256 | No | ||
| filename | Yes | ||
| media_type | Yes | ||
| project_id | Yes | ||
| size_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||