{"version":"2.1.296","anchor":"remote-control-sdk-listturnprompts-and-inheritedansweroff","canonical_anchor":"remote-control-sdk-listturnprompts-and-inheritedansweroff","heading":"A resumed session can honour an answer given to a permission prompt before the restart","tier":"use","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296\/e\/remote-control-sdk-listturnprompts-and-inheritedansweroff","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296","markdown":"### A resumed session can honour an answer given to a permission prompt before the restart\n\nWhen a resumed session adopts a parked permission prompt, it can now use a saved matching answer instead of asking again, with `inheritedAnswerOff` to disable it\n\n**Unclear.** It is not clear which setting `inheritedAnswerOff` reads.\n\n**What**\n\nA permission prompt is Claude Code asking whether it may run a tool. In headless and SDK sessions (runs without the interactive interface, or driven by other software), a prompt can be parked while it waits. When a resumed worker adopts a parked permission that has input details, it no longer withdraws the prompt card straight away. It keeps an `inheritedAsk` open and waits for an answer.\n\n- `takeAnswerForAdoptedCall`: accepts a saved `control_response` only if its `tool_use_id`, `request_id` and input all match the parked permission. If the answer is missing, too old, has different input, or arrives in plan mode, you are asked again.\n\n- `inheritedAnswerOff`: a switch that disables this path. Its getter returns true when a setting reads \"on\" and false on error.\n\n- `listTurnPrompts()`: a new method that lists the ids of pending prompts that are not background prompts.\n\nBefore, the card was always withdrawn when the permission was settled at start-up.\n\n**Why**\n\nAn approval you gave before a headless or SDK session restarted can now be used instead of being asked for again, but only when it matches the request exactly.\n\n- Area: Remote Control\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}