ask_ai
Send a prompt to OpenAI and get an answer. Use it to obtain AI-powered responses for your queries and coding challenges without leaving the editor.
Instructions
Send a prompt to OpenAI and return the answer.
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>"
},
"name": "ask_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| system | No |