loom_context_pack
Loads task-relevant memories, decisions, procedures, docs, chats, and recent runs into one context pack so agents can start or hand off work with the right background.
Instructions
Task context: call first with a default memory namespace, unless a Loom hook already put Loom's context in this session. Pass the task as query for memories, decisions, procedures, working memory and the profile; include_knowledge / include_conversations add docs and chats. include_runs=true lists recent sessions and runs (goal, outcome, tool calls, files) — shortlist there before opening one with memory.evidence (via loom_op) or memory.digests (via loom_op). For one fact, prefer loom_search; for activation only, loom_activate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "loom_context_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | task | |
| query | No | Optional task/question used to select relevant memories and docs. | |
| top_k | No | ||
| run_id | No | ||
| namespace | No | ||
| situation | No | Optional situation description used to match procedures. | |
| read_scope | No | namespace | |
| runs_limit | No | ||
| include_runs | No | ||
| token_budget | No | ||
| only_sections | No | ||
| include_chunks | No | ||
| include_decisions | No | ||
| include_knowledge | No | ||
| include_conversations | No |