Developer Tools21 toolsPaste one API key
Sanity integration for AI agents
Sanity is a headless CMS platform that provides structured content storage and APIs for modern applications.
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect Sanity once and call the same tools from all of them.
Setup
Connect Sanity through ClawLink's hosted setup.
- Auth: Paste one API key. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
Sanity exposes 21 tools through ClawLink. The 17 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
sanity_create_prompt_post | Send a one-shot prompt to the Sanity Content Agent | Write |
sanity_get_document | Fetch a single document by its ID from Sanity | Read |
sanity_get_invite_by_token | Retrieve an invite by its public token | Read |
sanity_get_org_role | Retrieve a specific organization role by its ID | Read |
sanity_get_permission | Get a permission for a specific resource | Read |
sanity_get_project | Retrieve full details for a specific Sanity project by its ID | Read |
sanity_get_robots | Get robots with access to a resource | Read |
sanity_get_role | Retrieve a specific role for a given resource type and resource ID | Read |
sanity_get_users | List all users of a resource and their assigned roles | Read |
sanity_list_org_roles | List all roles available for an organization | Read |
sanity_list_user_attributes | Retrieve user attributes from a Sanity organization | Read |
sanity_query_all_screening | Execute a GROQ query to fetch all screening documents from Sanity | Read |
sanity_query_documents | Execute an arbitrary GROQ query against a Sanity dataset | Read |
sanity_validate_credential | Validate Sanity API credentials by fetching the authenticated user's information | Read |
sanity_add_default_role_to_users | Apply organization default role to all users | Write |
sanity_create_attr_definition | Create a new user attribute definition in Sanity | Write |
sanity_update_org_acl | Assign a role to a member in a Sanity organization | Write |