Scenario corpus
corpusSearch, retrieve, list, and register scenario or model fragments by date, region, factors, and kind; index and fetch manifest files as jobs.
Instructions
The scenario corpus and the model corpus. Actions: search, get, list, add, index, fetch.
corpus="model" works with the corpus of the models — the material a model's
elicitation reads: episodes, the state at the date, transmission reviews, market
expectations — which has its own manifest and index under corpus-model/.
search and get read the index as it was on as_of; list shows what the
manifest holds; add registers a file downloaded by hand under its key. index
and fetch are tasks on the corpus resource. Inside a bench session every call and
its answer go to the journal of the event.
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>"
},
"name": "corpus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many fragments search returns, best first. | |
| id | No | The fragment id that get returns, as search reported it. | |
| ids | No | The documents fetch downloads, by manifest key; every missing one when omitted. | |
| key | No | The manifest key add registers the file under. | |
| url | No | The address the file was downloaded from, which add records. | |
| file | No | The path of the downloaded file add registers. | |
| kind | No | The kind of fragment search limits itself to: methodology, scenario_set, transmission, episode or market (market expectations, the model corpus alone). | |
| as_of | No | The date search and get work as of, YYYY-MM-DD: only fragments visible on that date. | |
| query | No | The words search looks for in the fragments of the corpus. | |
| action | Yes | What to do: search the index, get one fragment, list the manifest, add a file, or index and fetch as jobs. | |
| corpus | No | Which corpus to work with: "scenario", the default, or "model" — the corpus of the models, with its own manifest and index. | scenario |
| region | No | The region search limits itself to. | |
| factors | No | The factors search limits itself to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||