ym_delete_method
Delete or irreversibly change Yandex Market data via the Partner API. Requires confirm_write and i_understand_this_modifies_data flags to be true before any request is sent.
Instructions
Execute one DESTRUCTIVE endpoint: deletes or irreversibly changes data.
Target API: https://yandex.ru/dev/market/partner-api/doc/ru/.
Both confirm_write=true and i_understand_this_modifies_data=true are required; nothing is sent without both.
Args: operation_id: id from the catalog (see ym_search_methods). path_values: values for {placeholders} in the path. query: query-string parameters. body: JSON request body. confirm_write: must be true. i_understand_this_modifies_data: must be true. Returns JSON: {"ok": true, "status", "data"} or the error envelope.
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": {
"operation_id": "<operation_id>"
},
"name": "ym_delete_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| query | No | ||
| path_values | No | ||
| operation_id | Yes | ||
| confirm_write | No | ||
| i_understand_this_modifies_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |