POST
notion_databases_create.py
import asyncio
from charter.packs import notion
result = asyncio.run(notion.databases_create.ainvoke({"body": ...}))
Requires
Insert content.This tool’s JSON schema is 21 KB, because it models the whole resource this endpoint writes.
That is more context than most tasks. Narrow it at the call site
with Those are its heaviest branches by schema size, not a recommendation: which ones you can spare is yours to decide. The tool underneath is unchanged.
See Projections.
Tool.derived:narrowed = notion.databases_create.derived(
name="databases_create_narrowed",
drop={"body.initial_data_source", "body.title", "body.description"},
)
Body
| Field | Type | Description |
|---|---|---|
body * | DatabaseCreateBody | The database to create. |