Generate
generateCreate code, text, documentation, or tests from a prompt using AI models and providers.
Instructions
Generate content using AI models
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": {
"prompt": "<prompt>",
"generation_type": "<generation_type>",
"model": "<model>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to use | |
| prompt | Yes | Generation prompt | |
| language | No | Programming language (for code generation) | |
| provider | No | Optional provider name | |
| framework | No | Framework/library (for code generation) | |
| generation_type | Yes | Type of generation ('code', 'text', 'documentation', 'test') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||