Escalate if needed
escalate_if_neededEscalates difficult questions to Cursor, Grok, or Claude through the Frontier helper when a local answer is insufficient, returning the cloud model’s answer and escalation status.
Instructions
Send a hard question to Cursor, Grok or Claude via the Frontier helper. Use ask_frontier for the same call without a reason field. Use identify_handoff_triggers to decide whether to escalate. Calls the network. Needs the matching API key. Returns JSON with escalated, answer and hook_api.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the result. Default empty. | |
| provider | No | Cloud provider: cursor, grok or claude. Default cursor. | |
| question | Yes | Question to send to the cloud model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |