ask_q
Send a prompt to Amazon Q CLI to get AI assistance for chat, command translation, and status checks. Tailor responses with optional agent or model profiles.
Instructions
Execute Amazon Q CLI with a prompt to get AI assistance
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_q"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Agent/context profile to use (optional) | |
| model | No | Model to use (optional) | |
| prompt | Yes | The question or prompt to send to Amazon Q |