search_multilingual_corpus
Search the package *_multilingual_corpus.jsonl for narrative / localized text hits by query substring and optional language code. Requires repo_name. Prefer query_quantitative_csv for numeric survey tables; prefer get_repo_overview for title/abstract only; prefer list_repos to find packages first. Read-only, no auth; limit default 10 max 50; missing JSONL returns {error:"jsonl_not_found"}.
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": {
"repo_name": "<repo_name>"
},
"name": "search_multilingual_corpus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Alias of query | |
| limit | No | Max hits (1–50, default 10) | |
| query | No | Case-insensitive substring matched against each JSONL line | |
| language | No | Keep only records whose language field equals this code | |
| repo_name | Yes | Published package id in the form riman-{slug} (e.g. riman-ca-araliadiol-regulatory-inci-trust-study). Discover ids with list_repos. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Hit count returned | |
| file | No | JSONL filename | |
| hits | No | Parsed JSONL objects (or {raw} on parse failure) | |
| error | No | Present only on failure | |
| repo_name | No |