Class DecisionCall

All Implemented Interfaces:
GuardedExecution, Identifiable, Job<DecisionResponse>, Tool<DecisionRequest, DecisionResponse>

public class DecisionCall extends AbstractTool<DecisionRequest, DecisionResponse>
One decision, as a job: a DecisionRequest in, the answers by question id out. The leaf every decision in the runtime is, whichever code or orchestrator asks it: it declares the decision seat, and so it goes through the whole door (resolution to the deployment's decision model, pricing of its state against the entry's ceiling, admission on the entry's account, the spend gates) and its call lands on the job's record with the distributions the model produced. It holds the decision client for the length of one round trip and nothing else.

Not a palette tool: it carries no tool name, so no thinker's model can call it. A chat model asking a decision model is a design a caller makes deliberately, by wrapping this in a named tool with a schema it authored.

Since:
0.1 (2026-09-24)
Author:
Andrey Santrosyan
  • Field Details

    • DEFAULT_TIMEOUT

      public static final Duration DEFAULT_TIMEOUT
      A decision is one round trip of a few hundred milliseconds; a minute is a hung endpoint.
  • Constructor Details

  • Method Details