list_documents
Retrieve the documents in a Knowledge Agent's corpus by supplying its agent ID, so you can inspect available source material before querying or managing the agent.
Instructions
List the documents in a Knowledge Agent's corpus.
Args: agent_id: Knowledge Agent ID, from list_knowledge_agents.
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": {
"agent_id": "<agent_id>"
},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||