List generated files
list_artifactsList the files microservice.md generates for a service (OpenAPI, AsyncAPI, proto, GraphQL, runbook, ADRs, C4, context pack) from its last saved version (or version). Call it to get the paths for get_artifact. For the MICROSERVICE.md itself, use get_service_md. If hasDraftChanges is true, tell the user there are unsaved edits in microservice.md that are not included.
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": {
"service_id": "<service_id>"
},
"name": "list_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | A saved version number. Defaults to the last saved version. A version that doesn't exist returns an error. | |
| service_id | Yes | The service's catalog ID, from the repo's **Catalog ID:** line or from list_services. |