list_document_types
List the document types with their contexts.
read-onlyidempotentMCP toolAgent
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/ListDocumentTypes \
-H 'Content-Type: application/json' \
-d '{}'komrad rpc list-document-types{
"name": "list_document_types",
"arguments": {}
}Offered by the komrad MCP server to writer, reviewer, orchestrator agents.
Request#
Empty#
No fields.
Response#
ListDocumentTypesResponse#
| Field | Type | Description |
|---|---|---|
document_types | DocumentType[] | Every document type, by name, with its context. |
Types#
DocumentType#
DocumentType is one kind of document, with the context an agent reads before writing one.
| Field | Type | Description |
|---|---|---|
id | uuid* | The document type's id. |
name | string | The document type's name, which each document of the type carries as |
context | string | The markdown an agent reads before writing a document of this type. |
version | int32 | How many times the document type has been written. |
updated_at | timestamp | When the document type was last written. |