Get Injection Cap
vault_get_injection_capRetrieve the current token cap for a vault's injection context. If no cap is set, returns the fallback value from environment variables or the default.
Instructions
Return the stored per-vault injection token cap (or 'not set' if none).
If not set, the server falls back to LOREDOCS_INJECTION_CAP_TOKENS env var, then LOREDOCS_INJECTION_DEFAULT_CAP_TOKENS (default 100000).
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": {
"vault_name": "<vault_name>"
},
"name": "vault_get_injection_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |