eavz
Sanity

Sanity

Headless CMS and structured content platform

4 actions

Actions

Name
query

Execute a GROQ query against your Sanity dataset

create_document

Create a new document in your Sanity dataset

update_document

Patch an existing document in your Sanity dataset

delete_document

Delete a document from your Sanity dataset

Quick Start

TypeScript
import { WeavzClient } from '@weavz/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute({
  integrationName: 'sanity',
  actionName: 'query',
  input: { /* ... */ },
  connectionId: 'conn_id',
  workspaceId: 'ws_id',
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Sanity to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.

What actions does Sanity support?

Sanity supports 4 actions including Query (GROQ), Create Document, Update Document, Delete Document.

Can I use Sanity with AI agents?

Yes. Add Sanity to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.

What authentication does Sanity use?

Sanity uses Custom. Weavz handles token management, refresh, and secure credential storage automatically.

How much does the Sanity integration cost?

The Sanity integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.

Connect Sanity in 2 minutes

Get 1,000 free actions every month. No credit card required.