sf_read_topic
Read a Salesforce documentation topic by domain and topic ID. Optionally extract a specific section like Parameters or Example for targeted information.
Instructions
Read a specific Salesforce documentation topic file. Use sf_search first to find the domain and topic ID. Optionally request a specific section by heading.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"topic": "<topic>"
},
"name": "sf_read_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Topic ID (e.g. 'apex_methods_system_string', 'intro_rest_resources') | |
| domain | Yes | Domain ID (e.g. 'apex-reference', 'rest-api', 'metadata-api') | |
| section | No | Optional heading to extract a specific section (e.g. 'Parameters', 'Example', 'Return Value') |