connect_rest
Call any Salesforce Connect REST API resource under /services/data/vXX.X/connect/. Resource families under that prefix include Core (org and user settings), CMS (managed content — prefer cms_content and cms_delivery when they cover the operation), Experience Cloud (sites, site publishing, audiences, moderation), Files and Folders, Personalization, Commerce, and DevOps Center (connect/devops). Resources under connect/devops follow the connection's DevOps access category, not metadata access. Requires the exact resource path from Salesforce's Connect REST API reference — do not guess paths. An empty path returns the Connect directory of resources available to the context user. Org-level Chatter REST lives under /chatter/, not /connect/, and is not reachable with this tool. Only Connect REST resources are reachable; use soql_query, sobject_dml, tooling_api_* or metadata_* for other APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | (optional) The JSON request body for POST, PATCH, and PUT requests, matching the documented input shape for the resource. | |
| path | No | The Connect REST resource path relative to /services/data/vXX.X/connect/, for example 'communities' or 'organization'. An empty path (or the Connect root itself) returns the directory of resources available to the context user. The version prefix is added automatically; a fully qualified path beginning with /services/data/vXX.X/connect is also accepted. Put query-string values in queryParams, not in this path. | |
| method | Yes | The HTTP method. For POST, PATCH, PUT, and DELETE, always show the user the exact method, path, and body and ask for explicit approval before executing, and do not proceed without it. | |
| sf_user | No | (optional) Salesforce username to identify the connection to use. Omit this to use the current default connection. | |
| queryParams | No | (optional) Query-string parameters for the resource. Array values are joined with commas, which is the convention Connect REST uses for list-valued parameters. | |
| cirra_ai_team | No | (optional) Cirra team ID or name that owns the Salesforce connection to use for this call. Must be provided together with 'sf_user'. Use it to run against a specific team's connection without changing your default team — e.g. to keep separate chats on Salesforce orgs in different teams. Omit it when this call carries the context_handle from cirra_ai_init, which names the team for the conversation. A user with more than one place to work (several teams, or a team and a personal account) must pass either the context_handle or 'cirra_ai_team' + 'sf_user'. | |
| context_handle | No | (recommended) The conversation context handle returned by cirra_ai_init in this conversation. Pass the exact context_handle value from the most recent cirra_ai_init result so this call runs against the team and Salesforce connection selected for this conversation. A user with more than one place to work (several Cirra AI teams, or a team and a personal account) must pass either this handle or 'cirra_ai_team' + 'sf_user'; a call with neither is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| message | Yes | ||
| records | No | ||
| results | No | ||
| success | Yes | ||
| warning | No | ||
| errorCode | No | ||
| errorCount | No | ||
| resultCount | No | ||
| artifactType | No | ||
| requestCount | No | ||
| skippedCount | No | ||
| successCount | No | ||
| collectionField | No | ||
| artifactCategory | No |