Add a file to a project
add_project_fileCopy an image, video clip or audio file from a link (such as a search_stock_media or search_music result) into a project's storage, so edit_project can place it. Links from elsewhere on the web are refused.
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": {
"projectId": "<projectId>",
"url": "<url>",
"name": "<name>"
},
"name": "add_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | The file's name, e.g. beach.jpg | |
| projectId | Yes | A project id from list_projects or create_project |