Skip to main content
Wait for the latest turn of a conversation with Qobra’s compensation agent and read what it left, without starting anything. Call it when ask_compensation_agent, or an earlier call of this tool, came back running. It waits up to 45 seconds and answers running again while the turn goes on: call it again then. With no turn running, it returns the latest turn as it stands. The result reads like ask_compensation_agent’s. Relay the answer, and send the user’s reply to a question or a plan with ask_compensation_agent, not here. A turn that ended on an error is raised as one. The tool reads only and needs no mcp:write scope. It needs the same company settings and role as ask_compensation_agent: AI and the Architect switched on, and write access on plan compensations.

Parameters

Body

string
required
Id of a conversation of yours, as ask_compensation_agent returned it.

Response

Body

string
‘answered’: the turn is over, its reply is in answer. ‘awaiting_user’: it paused on a question (pending_question) or a plan to validate (pending_plan): show it to the user and send their reply with ask_compensation_agent, in this conversation. ‘running’: the turn goes on; call get_compensation_agent_turn with this conversation_id. One of: answered, awaiting_user, running.
string
The conversation of this turn. Pass it back on every follow-up call.
string
The agent’s reply when status is ‘answered’, to relay to the user. Null otherwise.
object
The question the agent is waiting on, with the options it offers (multi_select: several may be picked; the user may also answer in their own words). Set only when status is ‘awaiting_user’.
object
The changes the agent proposes, waiting for the user to approve or amend them; it applies nothing before. Set only when status is ‘awaiting_user’.
object
The compensation the turn worked on, as get_plan lists it: its id is the compensation_id of every later call, and update_compensation with that id and status ‘live’ publishes the turn’s draft. Its other fields and its resource_url, which opens the draft to review, are read off that draft when one is stacked on it.
boolean
True: the turn’s changes were saved as the compensation’s draft, which no statement reads until it is published. False: nothing was saved, save_note says why. Null while a turn runs, and for a turn asked from the web app, which saves from its own page.
string
Why nothing was saved, to tell the user. Null when the turn was saved or is still running.