env_facts
Store and query stable project environment facts—auth backends, env file locations, local URLs, required env vars—while keeping secrets in cred_refs.
Instructions
Store and query stable environment facts for a project (e.g., auth backend, env file locations, local URLs, required env vars). Not for secrets — use cred_refs for that.
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": "env_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Fact key (required for add) | |
| value | No | Fact value (required for add) | |
| action | Yes | Action | |
| context | No | Additional context for the fact | |
| project | No | Project slug (auto-detected if omitted) | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |