Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- query_documents — Query content with GROQ.
- get_document — Fetch a document by id.
- create_documents — Create draft documents.
- patch_documents — Apply precise modifications to documents.
- publish_documents — Make drafts live.
- unpublish_documents — Move published documents back to drafts.
- discard_drafts — Delete drafts, keeping the published version.
- create_version — Create a version document for a release.
- version_discard — Discard document versions from a release.
- create_release — Create a content release.
- list_releases — List releases.
- get_schema — Fetch a deployed schema.
- list_workspace_schemas — Deployed schemas for a project or dataset.
- deploy_schema — Deploy schema types to the cloud.
- deploy_studio — Deploy a managed Sanity Studio.
- semantic_search — Semantic search over an embeddings index.
- list_embeddings_indices — List embeddings indices.
- generate_image — AI image generation for a document field.
- transform_image — AI transformation of an existing image.
- dataset_assets_upload — CLI guidance for uploading an asset.
- list_datasets — List datasets.
- create_dataset — Create a dataset.
- update_dataset — Update a dataset name or access control.
- list_projects — List projects.
- create_project — Create a project, its dataset and API tokens.
- get_project_studios — Studios attached to a project.
- list_organizations — List organizations.
- cors_origins_list — List CORS origins.
- add_cors_origin — Add a CORS origin.
- cors_origins_delete — Delete a CORS origin.
- whoami — The currently authenticated account.
- run_sanity_cli — Run a limited subset of Sanity CLI commands.
- search_docs — Search Sanity documentation.
- read_docs — Read a documentation article.
- list_sanity_rules — List Sanity rules.
- get_sanity_rules — Fetch a Sanity rule.
- give_sanity_feedback — Send feedback to Sanity.
