TapestryPreview
What an agent would wake up knowing if these subjects walked in now: the “What You Know” that would be woven into its instructions, made without starting a session or changing any thread.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
loomId | uuid | The loom. |
agentName | string | null | The agent waking up. Its own private notes are included; other agents’ are not. Null: shared threads only. |
subjects | string[] | The people and things present, as named. |
tokenBudget | integer | The most tokens the tapestry may take, after the same limits a run applies. |
text | string | The woven text, exactly as it would sit in the system prompt. |
threadIds | uuid[] | The threads the tapestry was woven from. |
isEmptyLoom | boolean | Nothing has been woven yet: the agent would be born, not wake up. |
Example
Section titled “Example”{ "loomId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "agentName": "...", "subjects": [ "..." ], "tokenBudget": 0, "text": "...", "threadIds": [ "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f" ], "isEmptyLoom": false}Where it’s used
Section titled “Where it’s used”looms.tapestry(GET /looms/by-id/{id}/tapestry)