api_documentation
Generate API documentation from code in specified languages and formats to improve developer workflow efficiency.
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": {
"language": "<language>",
"code": "<code>",
"format": "<format>"
},
"name": "api_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | 编程语言 | |
| code | Yes | 要生成文档的API代码 | |
| format | Yes | 文档格式(markdown/html/jsdoc等) |