add_asset
Copy a local image or binary into an Overleaf project, then push the change. Compiles only the roots that reference the asset, avoiding full rebuilds.
Instructions
Copy a local image or binary into the project, then push. Compiles only the roots that actually reference it — an unreferenced file cannot break a build.
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": {
"local_path": "<local_path>",
"dest": "<dest>",
"message": "<message>"
},
"name": "add_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | ||
| message | Yes | ||
| project | No | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |