Add doc source
add_doc_sourceRegister and index a new llms.txt documentation source at runtime so custom docs sites become searchable in future runs.
Instructions
Register a new llms.txt source at runtime and index it. Persisted for future runs.
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": {
"name": "<name>",
"llms_txt_url": "<llms_txt_url>"
},
"name": "add_doc_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short id, e.g. 'langgraph' | |
| confirm | No | Set true to confirm the add when the client cancels the confirmation prompt. | |
| llms_txt_url | Yes | URL of the source's llms.txt (https) |