pub struct PlanEvaluationRequest {
pub plan_id: String,
pub planner_capability_id: String,
pub planner_capability: CapabilityToken,
pub agent_id: String,
pub steps: Vec<PlannedToolCall>,
}Expand description
Request body for POST /evaluate-plan.
Fields§
§plan_id: StringCaller-assigned identifier for this plan. Echoed in the response so the caller can correlate asynchronous evaluations.
planner_capability_id: StringIdentifier of the capability under which every step is evaluated.
Surfaced in the response for audit correlation; the kernel
cross-checks this against the embedded token’s id to reject
mismatched submissions.
planner_capability: CapabilityTokenFull capability token authorising the plan. The kernel must have the signed token in hand to verify signature, delegation, and scope; it does not maintain a capability registry that could be indexed by id alone.
agent_id: StringAgent submitting the plan. Checked against the capability’s
subject binding in the same way as runtime tool calls.
steps: Vec<PlannedToolCall>Ordered list of steps in the plan. Evaluated in submission order but each step evaluated independently.
Trait Implementations§
Source§impl Clone for PlanEvaluationRequest
impl Clone for PlanEvaluationRequest
Source§fn clone(&self) -> PlanEvaluationRequest
fn clone(&self) -> PlanEvaluationRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more