Probe media
probe_mediaReads a media file's container, codecs, duration, resolution, frame rate, size and audio tracks without changing it. Use to check a file before choosing settings. Runs on Neattrim's servers: any input file is uploaded there.
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": {
"source": "<source>"
},
"name": "probe_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The media to process: an https:// URL that returns the file directly, a file_id from create_upload or from an earlier job's output, or (local server only) an absolute file path inside an allowed folder. Links to video-platform pages (YouTube, TikTok, Instagram and similar) are not accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| streams | Yes | ||
| size_bytes | Yes | ||
| duration_seconds | No |