> ## Documentation Index
> Fetch the complete documentation index at: https://graph.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# builtin__compose_context

> Gathers what a drafting call needs to write a whole plan in one pass.

* The tools every step can use, plus the tools search found for the plan's capabilities, with their schemas.
* The step schema and the template rules.

| Available to | Effect |
| - | - |
| Any agent or plan step | Read-only |

## Input

**found** `object[]` *required*

One entry per capability: \{does, tools}, where tools is what plan\_\_search\_tools returned

## Output

**composing\_rules** `string` *required*

**rounds** `integer[]` *required*

**standing\_tools** `string` *required*

**step\_schema** `string` *required*

**templating\_rules** `string` *required*

**tools** `string` *required*

```yaml Plan step theme={null}
- id: E1
  tool_name: builtin__compose_context
  input:
    found: "{{input.found}}"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.