Salesforce list case activity

salesforce__list_case_activity

Access

Requires a project integration connection for salesforce.

Call type: Can read or manage credentials.

Arguments

FieldTypeRequiredDescription and constraints
qstringNoSOQL CaseComment query. Add WHERE ParentId = '<caseId>' to inspect one case. Must be a single read-only SELECT statement containing a top-level LIMIT followed by a plain number, for example LIMIT 25. A query with no LIMIT, or with a LIMIT only inside a subquery, is rejected before it runs. Keep the LIMIT small (25-50 is usually right); a project can cap the maximum rows, so retry with a smaller LIMIT if the query is rejected for exceeding that cap. Default: "SELECT Id, ParentId, CommentBody, CreatedDate, CreatedById, IsPublished FROM CaseComment ORDER BY CreatedDate DESC LIMIT 50".

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "salesforce__list_case_activity",
    "arguments": {}
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the salesforce integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "SOQL CaseComment query. Add WHERE ParentId = '<caseId>' to inspect one case. Must be a single read-only SELECT statement containing a top-level LIMIT followed by a plain number, for example LIMIT 25. A query with no LIMIT, or with a LIMIT only inside a subquery, is rejected before it runs. Keep the LIMIT small (25-50 is usually right); a project can cap the maximum rows, so retry with a smaller LIMIT if the query is rejected for exceeding that cap.",
      "default": "SELECT Id, ParentId, CommentBody, CreatedDate, CreatedById, IsPublished FROM CaseComment ORDER BY CreatedDate DESC LIMIT 50"
    }
  },
  "description": "Arguments for the salesforce__list_case_activity tool."
}