neurover_ensure_media
Resolves a local file to a media asset ID by finding matching content in the media library or uploading it only to the library, without placing it on the canvas.
Instructions
Получить mediaAssetId локального файла: найти в медиатеке по содержимому или загрузить ТОЛЬКО в медиатеку (на полотне ничего не появляется). Обычно не нужен — prepare_generation сам принимает filePath.
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": {
"workflowId": "<workflowId>",
"filePath": "<filePath>"
},
"name": "neurover_ensure_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| account | No | ||
| modelId | No | ||
| filePath | Yes | ||
| mimeType | No | ||
| workflowId | Yes | ||
| referenceField | No |