Skip to main content
POST
Ask whether this agent can handle a task

Body

application/json
task_summary
string
required

One-sentence description of the work.

weights
object
required

How much each factor contributes to the overall score. Must sum to 1.0 (not enforced; callers should normalize).

task_details
string

Longer context, audience, constraints.

input_mime_types
string[]
output_mime_types
string[]
max_latency_ms
integer

Client's latency tolerance.

max_cost_amount
string

Client's cost tolerance (currency-agnostic; agreed per-agent).

required_tools
string[]
forbidden_tools
string[]
min_score
number

Decline threshold. Scores below this are treated as "no".

Required range: 0 <= x <= 1

Response

200 - application/json

Negotiation response

can_handle
boolean
required
score
number
required
Required range: 0 <= x <= 1
reasons
string[]

Short bullet rationale for the score.

estimated_latency_ms
integer
estimated_cost_amount
string