kiota_client_add
Add a new API client configuration to the workspace using an OpenAPI spec and target language, creating an entry in kiota-config.json.
Instructions
Add a new API client configuration to the workspace. Creates an entry in kiota-config.json.
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>",
"openApiPath": "<openApiPath>",
"language": "<language>"
},
"name": "kiota_client_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | Target programming language for the generated client | |
| namespace | No | Optional: Namespace or package name for generated code | |
| clientName | Yes | Unique name for this API client (e.g., 'github', 'stripe-api') | |
| outputPath | No | Optional: Directory where generated code will be placed (default: './output/<clientName>') | |
| openApiPath | Yes | Path to the OpenAPI specification file (local path or HTTPS URL) | |
| includeAdditionalData | No | Optional: Include additional data in generated models (default: true) |