ChatGPT Web chat
chatgpt_chatSend a prompt to ChatGPT Web and receive the assistant's response. Use it when you need ChatGPT's reasoning or coding help without granting workspace access. Validate any returned code before use.
Instructions
Send prompt text to ChatGPT Web and return the assistant response. No repository or execution capability is granted to ChatGPT. The caller is responsible for selecting minimal context and validating returned code before use.
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": "chatgpt_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| effort | No | ||
| prompt | Yes | ||
| timeout_ms | No | ||
| conversation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | ||
| truncated | Yes | ||
| responseBytes | Yes | ||
| conversationId | Yes | ||
| requestedModel | Yes | ||
| requestedEffort | Yes |