scope_create
Create a named retrieval scope with registry-validated allow-lists across source databases, domains, and semantic or native codes to narrow queries to matching indicators, cutting retrieval cost and noise.
Instructions
Create a named retrieval scope.
rules: allow-lists over the registry dimensions —
{source_dbs: [...], domains: [...], semantic_codes: [...], native_codes: [...]} (every list optional; a scope with no allow-lists
is rejected). Allow-list values are validated against the live
registry_entries/concepts tables: a scope matching nothing known is
rejected; the number of matched indicators is returned. unscoped is
reserved. Scope is a precision/cost tool, not a permission wall.
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": {
"name": "<name>",
"rules": "<rules>"
},
"name": "scope_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| rules | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||