Resolve Replo interaction
resolve_agent_interactionResolve one pending Replo agent interaction with the user's explicit answer. For a permission request, pass type permission and the decision from its response options. For a question, pass type question and one answers array per form step, in order, holding the selected option values, or the user's own text only where that step's allowCustom is true; an empty array skips a step. Never infer an answer. Approving or answering resumes the agent, which can then overwrite or delete content, publish, or write to an external service. Returns the updated session status; an interaction that is no longer pending returns an error and nothing is delivered, so call get_agent_session again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The interaction's type from pendingInteractions. | |
| answers | No | For a question: one array per form step, in order. | |
| decision | No | For a permission: the user's selected option value from its response contract. | |
| sessionId | Yes | ||
| interactionId | Yes | The id copied from get_agent_session.pendingInteractions after the user answers using that interaction's response contract. |