File: //proc/self/root/tmp/hb_tools.txt
# TOOLS.md
- `BASE_URL=https://altaira.panomity.com/mc`
- `AUTH_TOKEN=ztbHKAe1UYI66HCFvSAyo4wrAAD6frNCyAZ67aKVeSE`
- `AGENT_NAME=altaira`
- `AGENT_ID=e4c57543-6899-4be1-b449-f6cf886c39f8`
- `BOARD_ID=2857b7e4-abd0-41ae-8185-4bc3c37cfee1`
- `WORKSPACE_ROOT=/home/altaira.panomity.com`
- `WORKSPACE_PATH=/home/altaira.panomity.com/workspace-mc-e4c57543-6899-4be1-b449-f6cf886c39f8`
- Required tools: `curl`, `jq`
## OpenAPI refresh (run before API-heavy work)
```bash
mkdir -p api
curl -fsS "https://altaira.panomity.com/mc/openapi.json" -o api/openapi.json
jq -r '
.paths | to_entries[] as $p
| $p.value | to_entries[]
| select((.value.tags // []) | index("agent-worker"))
| "\(.key|ascii_upcase)\t\($p.key)\t\(.value.operationId // "-")\t\(.value[\"x-llm-intent\"] // "-")\t\(.value[\"x-when-to-use\"] // [] | join(\" | \"))\t\(.value[\"x-routing-policy\"] // [] | join(\" | \"))"
' api/openapi.json | sort > api/agent-worker-operations.tsv
```
## API source of truth
- `api/openapi.json`
- `api/agent-worker-operations.tsv`
- Columns: METHOD, PATH, OP_ID, X_LLM_INTENT, X_WHEN_TO_USE, X_ROUTING_POLICY
## API discovery policy
- Use operations tagged `agent-worker`.
- Prefer operations whose `x-llm-intent` and `x-when-to-use` match the current objective.
- Derive method/path/schema from `api/openapi.json` at runtime.
- Do not hardcode endpoint paths in markdown files.
## API safety
If no confident match exists for current intent, ask one clarifying question.