Loading...
Loading...
Use the Notion CLI (`ntn`) to interact with the Notion API, manage workers, and upload files. Use when the user asks to "call the Notion API", "deploy a worker", "upload a file to Notion", "create a page", "query a database", or any task involving the `ntn` command.
npx skill4agent add makenotion/skills notion-clintn api lsntn api <path> --helpntn api <path> --docsntn api <path> --specntn <command> --helpnpm i -g ntn@latestNOTION_API_TOKENntn apintn filesntn loginntn logoutntn workersntn tokensntn apintn filesntn apintn api --help# GET with query param
ntn api v1/users page_size==100
# POST with inline body fields
ntn api v1/pages parent[page_id]=abc123
# POST with JSON body
ntn api v1/pages -d '{"parent":{"page_id":"abc123"}}'-X METHODntn filesntn files create < image.png
ntn files create --external-url https://example.com/photo.png
ntn files list
ntn files get <upload-id>ntn workersntn workers --helpntn workers new my-worker # scaffold a new project
ntn workers deploy # deploy from current directory
ntn workers ls # list workers
ntn workers exec <capability> # execute a capabilityntn tokensntn workersntn loginNOTION_API_TOKENntn tokens create
ntn tokens ls
ntn tokens revoke <token-id>