Skip to content
Tools/Spec Introspection/prioritise

prioritise

[LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing prioritisation, invoke the /upg-prioritise skill instead of calling this tool directly. Prioritise approach: path of arrival to "what's most important?". Returns the Prioritise record + invocation params + framework metadata in the family-resemblance envelope. Both `candidates` and `framework_id` are required. The LLM looks up the framework via `get_framework`, reads its scoring spec, and emits `{ ranked: [{ entity_id, score, rationale }], framework_used }`.

Spec Introspectionatomic (read-only)

Arguments

candidatesarrayrequired

Required. entity_id[] to rank.

framework_idstringrequired

Required. UPGFramework.id of the scoring lens (e.g. "rice-scoring", "ice-scoring", "kano-model", "cost-of-delay", "wsjf").

Returns

JSON envelope: { approach_id, scope, generated_at, approach, params, framework_resolved, ranked?, required_properties?, hint?, execution_mode }.
Execution mode is "execution_v0_4_0" when the framework has an expression, "definition_lookup_v0_4_0" otherwise.

See Also