Build bounded agent context
project_agent_contextGenerate a compact context bundle around a card, aggregating direct relations, active conventions, open incidents, and project context for efficient preparation.
Instructions
Build a compact context bundle around a card from direct relations, active conventions, open incidents and active project context. Prefer this over reading records one by one before working on a card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum related records to include. | |
| cardId | Yes | Card the bundle is centred on, e.g. T-0042. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | Yes | ID of the card the bundle was built around. | |
| records | Yes | The selected records, with bodies. | |
| markdown | No | The same bundle rendered as Markdown, ready to paste into a prompt. | |
| truncated | No | True when relevant records were dropped to respect limit. | |
| generatedAt | No | When the bundle was assembled, RFC 3339. | |
| totalAvailable | No | Related records before limit was applied. |