ym_execute_file
Downloads PDF or binary files from Yandex Market partner operations to a specified output path. Use to retrieve reports, labels, or documents.
Instructions
Execute action that downloads a file (PDF/binary). output_path must be under ~/... or /tmp/...
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": {
"action": "<action>",
"output_path": "<output_path>"
},
"name": "ym_execute_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| output_path | Yes | ||
| params_json | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |