generate_model_from_api
Fetches an API response and generates a ready-to-use model class in your configured language, with automatic handling of login and refresh tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_model_from_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| body | No | ||
| path | No | ||
| token | No | ||
| method | No | GET | |
| headers | No | ||
| bodyType | No | json | |
| className | No | Model |