> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# pages_create

> Create a page — as a subpage of another page, or as a row of a database by giving its `data_source_id` as the parent. Content comes as `children` blocks, as a `markdown` string Notion parses for you, or from a template: one of the three, never two.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.notion.com/v1/pages"}</code></div>

```python notion_pages_create.py theme={null}
from charter.packs import notion

result = await notion.pages_create.ainvoke({"body": ...})
```

<Note>
  Requires `Insert content`.
</Note>

<Warning>
  This tool's JSON schema is 76 KB, because `body.children` carries 45 kinds of edit behind one method.
  That is more context than most tasks. Narrow it at the call site
  with [`Tool.derived`](/charter/charter/reference/tool#tool-derived):

  ```python theme={null}
  narrowed = notion.pages_create.derived(
      name="pages_create_narrowed",
      keep={"body.children.object", "body.children.type", "body.children.code"},
  )
  ```

  Three of the 45 are kept here. Which ones your agent needs is yours to pick. The tool underneath is unchanged.
  See [Projections](/charter/charter/tools/projections).
</Warning>

## Query parameters

<div className="reference-table">
  | Field              | Type        | Description                                                                                                                                                                                |
  | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `filterProperties` | `string`\[] | Property IDs to return on the page that comes back, instead of all of them. A page that does not have a listed property omits it. <span className="field-constraints">max 100 items</span> |
</div>

## Body

<div className="reference-table">
  | Field                                                        | Type                                                                 | Description         |
  | ------------------------------------------------------------ | -------------------------------------------------------------------- | ------------------- |
  | `body` <span className="required" title="required">\*</span> | [PageCreateBody](/charter/charter/packs/notion/pages/objects#pagecreatebody) | The page to create. |
</div>
