list_document_type_versions
List every write of a document type, newest first.
read-onlyidempotentMCP toolAgent
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/ListDocumentTypeVersions \
-H 'Content-Type: application/json' \
-d '{
"id": "<id>"
}'komrad rpc list-document-type-versions \
--id '<uuid>'{
"name": "list_document_type_versions",
"arguments": {
"id": "<id>"
}
}Offered by the komrad MCP server to writer, reviewer, orchestrator agents.
Request#
ListDocumentTypeVersionsRequest#
| Field | Type | Description |
|---|---|---|
id | uuid* | The document type whose versions to list, by id. |
Response#
ListDocumentTypeVersionsResponse#
| Field | Type | Description |
|---|---|---|
versions | DocumentTypeVersion[] | Every version of the document type, newest first. |
Types#
DocumentTypeVersion#
DocumentTypeVersion is one write of a document type, without its context.
| Field | Type | Description |
|---|---|---|
version | int32 | The version's number, to pass to |
name | string | The document type's name at this version. |
created_at | timestamp | When this version was written. |