Import a stock clip
stock_importCopy one stock clip (the id from stock_search) into a project, with licence and attribution recorded. Free; 20 imports an hour.
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>",
"stockId": "<stockId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "stock_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stockId | Yes | `results[].id` from GET /v1/stock/search, such as pexels:3195394. | |
| platform | No | The platform the clip is for; defaults to `youtube`. | |
| projectId | Yes | The project id (`id` from GET /v1/projects). | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||