Read an API operation
get_api_operationReads one operation of the LexOpti API: method and path, parameters, request body schema, responses and errors, and its TypeScript SDK example. An operation without French version answers in English, with fallback: true.
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": {
"operationId": "<operationId>"
},
"name": "get_api_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the documentation: en (default) or fr. | en |
| operationId | Yes | The operation, as the API reference names it (checks.create). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| lang | Yes | ||
| path | Yes | ||
| method | Yes | ||
| summary | Yes | ||
| fallback | Yes | ||
| markdown | Yes | ||
| sdkExample | Yes | ||
| description | Yes | ||
| operationId | Yes |