Build, run and import searches
revisia_search_actUse this when preparing stage 2. action build: AI proposes the concept blocks and saves them (save: false to only look); it runs as a job and answers at once, so wait with revisia_jobs (kind strategy) and call build again to get the proposal without new AI. action toggle_block: put a concept block in the query or take it out (comparator and outcome start out on purpose: requiring them narrows the search); without terms it switches on revisia's suggested names. action toggle_term: switch names on or off. action edit_strategy / edit_queries: save the researcher's changes; edit_strategy replaces every block, so send back status detail full blocks with their provenance; names revisia switched off stay off unless you send enabled: true. action run: run searches in the databases the researcher chose (providers, or searches); without them it launches nothing and returns the available databases so you can ask. version_id launches that strategy version and records the run under it. dry_run defaults to true and only reports the counts, dry_run false launches ingestion jobs. action import: import an exported reference file (RIS, BibTeX, CSV, NBIB, WoS, ICTRP) by passing its CONTENT, at most 200,000 characters per call (split a bigger file into several imports); URLs are never fetched. Wait for jobs with revisia_jobs.
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>",
"project_id": "<project_id>"
},
"name": "revisia_search_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | build: save the proposed strategy (default true). The researcher still signs stage 2. | |
| block | No | toggle_block, toggle_term: block role or label. | |
| terms | No | toggle_term: names to switch (source tells MeSH from free text). toggle_block active true: names to search with; omit for revisia's suggestions. | |
| action | Yes | ||
| active | No | toggle_block: in the query (AND) or out. | |
| blocks | No | edit_strategy: every concept block, as in strategy_blocks of status detail full. | |
| format | No | import: file format (auto-detected if left out). | |
| source | No | import: database the file was exported from, for PRISMA. | |
| content | No | import: the file CONTENT (RIS, BibTeX, CSV, NBIB/MEDLINE, WoS or ICTRP export), at most 200,000 characters per call: split a bigger file into several imports. Never a URL. | |
| dry_run | No | Default true: only report what would run and the quota used. false launches. | |
| enabled | No | toggle_term: switch the names on or off. | |
| queries | No | edit_queries: hand-edited query per database. | |
| searches | No | run: searches to launch. Leave out to use the saved strategy's query for each database in `providers`. | |
| providers | No | run: databases to search with the saved strategy, only the ones the researcher chose. Leave out to get the list to ask them. | |
| project_id | Yes | Review id (from revisia_projects list). | |
| version_id | No | run: launch this strategy version (id from revisia_search versions) instead of the saved strategy; the run is recorded under it. | |
| idempotency_key | No | Same key within 24 h returns the first launch instead of a second job. |