kiota_client_generate
Generate API client code from a configured client in the Kiota workspace, using error-based cancellation and automatic dependency detection.
Instructions
Generate API client code from a configured client in the Kiota workspace. Automatically uses --ebc flag for error-based cancellation and runs kiota info to determine required dependencies.
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": {
"clientName": "<clientName>"
},
"name": "kiota_client_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientName | Yes | Name of the client to generate (must be configured via kiota_client_add) | |
| cleanOutput | No | Optional: Clean the output directory before generation (default: false) | |
| refreshDescriptions | No | Optional: Refresh the OpenAPI descriptions before generation (default: false) |