SF Docs
Salesforce documentation lookup for agents and humans, with Pi-native endpoint configuration, cited results, and a Manager settings surface.
What it does
Provides one sf_docs family tool with explicit deterministic grounding, literal search/fetch primitives, cited answers, single-document explanations, collection discovery, status, and a lazy cheatsheet. Ground records bounded catalog, search, fallback, and fetch steps while explicit collection values remain authoritative. The extension talks directly to an internally supplied Salesforce Docs MCP-over-HTTP endpoint; Pi-native /login sf-docs stores only the endpoint URL, no access token is required or transmitted, and no default endpoint is shipped.
Start
Open the extension from its primary command:
/sf-docsOpen its Manager detail or change its package state with:
/sf-pi open sf-docs
/sf-pi enable sf-docs
/sf-pi disable sf-docsSafety notes
- Interactive
/login sf-docscollects and persists only an internally supplied endpoint URL under provider idsf-docs; no access token is required, stored, or transmitted. The extension ships with no default endpoint. - Uses native fetch plus a small local SSE parser; no MCP server, MCP SDK, or extra runtime dependency is required.
- Caches only the collection catalog, scopes it by a one-way endpoint identity without persisting the endpoint URL, and never caches search results, answer text, fetched document bodies, prompts, or citations.
- Tool output keeps source URLs and always-on answer/explain citations visible, bounds model-facing text, distinguishes partial or failed retrieval from truncation, records deterministic ground steps, and keeps the configured service endpoint out of model-visible status output.
Exact reference
Show commands, tools, providers, and hooks
- Extension id:
sf-docs - Intent: Build agents
- Category: Agent Tool
- Maturity: experimental
- Default state: on
- Commands:
/sf-docs - LLM tools:
sf_docs - Providers:
sf-docs - Events/hooks:
session_start
For contributors
Troubleshooting
See the Troubleshooting section in the full README for extension-specific recovery steps.