generate_frontend_call
Generates frontend code for API calls by specifying the endpoint path, HTTP method, and target framework. Simplify frontend integration with backend endpoints defined in Swagger/OpenAPI.
Instructions
Generate frontend API call code
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": {
"path": "<path>",
"method": "<method>",
"framework": "<framework>"
},
"name": "generate_frontend_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method | Yes | ||
| framework | Yes |