Upload reference document
open_design_source_uploadFallback file picker for a new supplier PDF, requirements TXT, CSV heat map/table or PNG/JPEG when the chat host cannot hand off its attachment. Prefer import_design_source_attachment for a host-provided file reference, or reuse a known ready artifact. API handles transfer and SHA-256; no shell or signed-URL upload needed. Show the picker or Upload source link once; retain artifact ID and continue when ready. Images are visual evidence, not measured dimensions or numeric heat maps. Server cannot read client file paths.
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>"
},
"name": "open_design_source_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | No | ||
| filename | Yes | ||
| media_type | Yes | ||
| project_id | Yes | ||
| size_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||