Salesforce search knowledge articles

salesforce__search_knowledge_articles

Access

Requires a project integration connection for salesforce.

Call type: Can read or manage credentials.

Arguments

FieldTypeRequiredDescription and constraints
qstringNoSOQL KnowledgeArticleVersion query. Filter by Title, Summary, DataCategory, or language when needed. The default query selects published articles with PublishStatus = Online; other authorized publication states require an explicit query. 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, KnowledgeArticleId, Title, Summary, UrlName, Language, LastPublishedDate FROM KnowledgeArticleVersion WHERE PublishStatus = 'Online' ORDER BY LastPublishedDate DESC LIMIT 25".

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__search_knowledge_articles",
    "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 KnowledgeArticleVersion query. Filter by Title, Summary, DataCategory, or language when needed. The default query selects published articles with PublishStatus = Online; other authorized publication states require an explicit query. 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, KnowledgeArticleId, Title, Summary, UrlName, Language, LastPublishedDate FROM KnowledgeArticleVersion WHERE PublishStatus = 'Online' ORDER BY LastPublishedDate DESC LIMIT 25"
    }
  },
  "description": "Arguments for the salesforce__search_knowledge_articles tool."
}