add_icon
Upload a custom SVG icon by name and markup, with optional dry-run preview and confirm-before-upload to safely validate the icon before adding it to your project.
Instructions
Upload a custom SVG icon.
Args:
name: Icon name.
svg: SVG markup.
confirm: Must be True to upload.
dry_run: Preview without uploading.
Returns: Upload acknowledgement or a preview payload.
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": {
"name": "<name>",
"svg": "<svg>"
},
"name": "add_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | ||
| name | Yes | ||
| confirm | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||