assets_package
Create a portable workspace-local SVG package with document.svg, rewritten local assets, and a revision manifest, publishing files together without overwriting existing files.
Instructions
Creates a portable workspace-local SVG package containing document.svg, rewritten local assets, and a revision manifest. Every package file is published together and existing files are never overwritten.
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": {
"expectedRevision": "<expectedRevision>",
"outputDirectory": "<outputDirectory>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "assets_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| workspaceId | Yes | ||
| assetLicenses | No | ||
| outputDirectory | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| documentPath | Yes | ||
| manifestPath | Yes | ||
| dependencyCount | Yes |