Notion AI — Workspace Tool Schema (JSON)

Tool Schema ✦ Curated & attributed Advanced

A JSON tool-definition array for Notion AI's eight workspace tools: view (load entities/webpages by URL), search (a single tool with internal/web/default/users modes and rich web filters), create-pages, update-page (with updateProperties/replaceContent/replaceContentRange/insertContentAfter commands), delete-pages, query-data-sources (read-only SQLite over data sources, with JOIN examples, or view-mode), create-database, and update-database (which delegate schema/view changes to a sub-agent via natural-language requirements).

What makes this prompt notable

  • query-data-sources exposes a real read-only SQLite engine where the table name IS the data-source URL (double-quoted), with embedded JOIN and json_each examples
  • update-page uses an ellipsis-based selection format ('# Old Section...end of section') for targeted content edits instead of full rewrites
  • create-database/update-database take a markdown bullet 'requirements' string passed to a separate sub-agent that 'will NOT be able to see' the user's messages
  • The single search tool packs four distinct modes (internal/web/default/users) each with their own parameter object and web-only filters like includeDomains/excludeText/category

Discussion (0)

Sign in to join the discussion.
Related

More in Tool & Function Schemas

AU
Augment Code
tool schema

Augment Code — Tool Schemas (Claude Sonnet 4)

JSON tool-definition file for the Augment Agent (Claude Sonnet 4 variant) defining ~22 tools: file editing (str-replace-editor with line-numbered mult…

tool schema definition constraint setting in descriptions enum constraints
229 5.4k 2.3k words
LE
Leap.new
tool schema

Leap.new — Tool Schema Definitions (JSON)

JSON tool/function schema file defining ten code-generation tools for the Leap.new app builder, including create_artifact, define_backend_service, cre…

JSON Schema tool definitions enum constraints nested object schemas
228 6.5k 1.4k words
TR
Traycer AI
tool schema

Traycer AI — Plan Mode Tool Schemas

Tool schemas for Traycer's Plan mode, layering exploration tools (list_dir, file_search, grep_search, read_file, LSP navigation, get_diagnostics) with…

tool-use protocol structured JSON schema multi-agent orchestration
216 5k 1.4k words