cloudide__CreateRequest
Creates a code generation request for a specified language and IDE context, so you can generate code samples from signatures, docstrings, or surrounding text.
Instructions
[CLOUDIDE] create a code generation request.
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>"
},
"name": "cloudide__CreateRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topn | No | the number of samples | |
| context | No | context | |
| ide_type | No | the type of ide | |
| language | Yes | code language | |
| model_id | No | choose the model | 300M |
| resubmit | No | if `resubmit` is true, the de-duplication will be ignored | |
| scenario | No | the scenario of code content | web |
| docstring | No | docstring | |
| signature | No | signature | |
| above_text | No | the text above the cursor | |
| ide_version | No | the version of ide | |
| request_type | No | An enumeration. | function |
| following_text | No | the text following the cursor | |
| plugin_version | No | the version of plugin |