ai_asset
List and upload project assets to the assets/ folder, ensuring files exist before components reference them.
Instructions
Project assets in assets/: list/upload. Upload before referencing an asset in a component.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute path of a local file (upload) | |
| name | No | Asset file name including extension (upload) | |
| path | No | Target path inside the project (upload) | |
| action | No | What to do | |
| base64 | No | Base64 bytes instead of file (upload) |