import_asset
Adds a selected local PNG or JPEG to the workspace and returns a content-addressed asset ID for reuse in design and asset workflows.
Instructions
Import one explicitly selected local PNG/JPEG into the workspace. Returns a content-addressed asset ID.
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": {
"source_path": "<source_path>"
},
"name": "import_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| status | No | ok |