run_operation
Run one operation (POST /v2/run) and get one page of records in results, with count, cost and
balance. options is the operation's input (see find_operations or get_operation).
`fields`: the record fields you need, by path ("name", "rating", "phone", "address.full"); `object`, `id`
and `position` always come. Ask only for what you need: every field of a full page is large (20 places with
all their fields are about 70,000 characters, more than you may be able to read in one answer), the same
page with four fields is a few thousand.
`limit`: only the first N records of the page, for a search or a list; the call costs the same. With
`fields`, it keeps a large page readable: 100 Google News articles with four fields are about 50,000
characters, with `limit` 20 a fifth of it.
One call is one page: records_per_call in find_operations (20 places, 20 reviews). For more, call
run_operation again with the answer's `next` as it is (its operation, options and fields) until you have
enough or `next` is null: 50 places are 3 calls. Each call costs its credits. Pass an `idempotency_key` to
retry a call safely: the same key never runs or bills twice.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": "<operation>",
"options": "<options>"
},
"name": "run_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | No | ||
| options | Yes | ||
| operation | Yes | ||
| idempotency_key | No |