pocketdraft_attach_file
Attach a local screenshot, image, or background from the workspace to a PocketDraft project, then commit the update to the paired editor.
Instructions
Attach a local screenshot/image/background within --workspace. Changes are committed to the paired editor.
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": {
"projectId": "<projectId>",
"revision": "<revision>",
"file": "<file>",
"target": "<target>"
},
"name": "pocketdraft_attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| target | Yes | ||
| layerId | No | ||
| canvasId | No | ||
| revision | Yes | ||
| projectId | Yes | ||
| cropPolicy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||