Prepare automatic research
prepare_research_rulePrepares a rule that researches rows when they first become ready or when their inputs change, with a per-run and a total spending limit. Nothing runs until the rule is approved.
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": {
"request_id": "<request_id>",
"name": "<name>",
"collection_id": "<collection_id>",
"function_id": "<function_id>",
"bindings": "<bindings>",
"per_batch_cents": "<per_batch_cents>",
"total_cents": "<total_cents>",
"valid_until": "<valid_until>"
},
"name": "prepare_research_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| trigger | No | first_ready | |
| bindings | Yes | ||
| batch_size | No | ||
| conditions | No | ||
| request_id | Yes | ||
| function_id | Yes | ||
| total_cents | Yes | ||
| valid_until | Yes | ||
| collection_id | Yes | ||
| per_batch_cents | Yes | ||
| reuse_completed | No | ||
| include_existing | No |