Skip to main content
API reference sections

Schema

ToolDecisionRequest

The optional body of an approve or deny. A local agent offers its own choices for a permission request; the chosen one's id comes back here. A workspace tool offers none and takes no body. An agent's row with no choice is refused, so two same-intent choices can never collapse.

An agent's questions are answered by approving their row with `answers` (koru-ai D108), one per question by its id: an offered option by label, or the person's own words where the question takes them. Denying the row skips the set. A question row approved without answers is refused.

Type object

Shape

FieldTypeDescription
choicestring or null
answersarray of AgentAnswer or null
Example
{
  "choice": "string",
  "answers": [
    {
      "question_id": "string",
      "value": {
        "label": "string",
        "kind": "option"
      }
    }
  ]
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.