Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Document by ID
SANITY_GET_DOCUMENTFetch a document by ID from a Sanity dataset in the project configured on the connection. The response may instead report that the document was omitted.
Get Invite By Token
SANITY_GET_INVITE_BY_TOKENRetrieve an invite by its public token for a specified resource. Returns invite details when found; an HTTP 404 is returned as found=false.
Get Organization Role
SANITY_GET_ORG_ROLERetrieve a specific organization role by its ID. Use this action when you need to fetch details about an organization role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified organization.
Get Permission
SANITY_GET_PERMISSIONGet a permission for a specific resource. Use when you need to retrieve details about a particular permission including its actions, parameters, and scope. The action retrieves permission information based on the resource type, resource ID, and permission name provided in the path parameters.
Get Project
SANITY_GET_PROJECTRetrieve details for the Sanity project configured on the connection by its ID, including available project information such as display name, organization, studio host, and timestamps.
Get Robots
SANITY_GET_ROBOTSTool to get robots with access to a resource. Use when you need to retrieve a list of robots (service accounts) that have been granted access to a specific resource along with their assigned roles. This action supports pagination through the next_cursor parameter.
Get Role
SANITY_GET_ROLERetrieve a specific role for a given resource type and resource ID. Use this action when you need to fetch details about a role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified resource.
List Resource Users
SANITY_GET_USERSList all users of a resource and their assigned roles. Use when you need to retrieve user information and role assignments for a specific project or organization. Supports pagination via cursor.
List Datasets
SANITY_LIST_DATASETSList datasets in the Sanity project configured on the connection, optionally including statistics or filtering by profile or add-on parent.
List Organization Roles
SANITY_LIST_ORG_ROLESList all roles available for an organization. Use this action to retrieve all available roles that can be assigned to users within a specific Sanity organization. The organization_id is required to identify which organization's roles to list.
List User Attributes
SANITY_LIST_USER_ATTRIBUTESTool to retrieve user attributes from a Sanity organization. Use when you need to get the attributes (such as roles, permissions, or custom properties) associated with a specific user in a Sanity organization. Supports pagination via the cursor parameter.
Query All Screening
SANITY_QUERY_ALL_SCREENINGExecute a GROQ query against a Sanity dataset, defaulting to screening documents. Supports optional query parameters; requests are sent without authentication headers.
Query Documents
SANITY_QUERY_DOCUMENTSExecute a GROQ query against a Sanity dataset in the project configured on the connection. Supports optional parameters, perspective control, and CDN use; results can be any JSON value, including arrays, objects, scalars, or null.
Validate Credential
SANITY_VALIDATE_CREDENTIALValidate Sanity API credentials by fetching the authenticated user's information. Use this action when you need to verify that an API token is valid and has proper authentication. This action returns user information and accessible projects if the token is valid.