Negotiation

Assess Task Capability

Assess agent's capability to handle a task. Evaluates skill match, IO compatibility, performance, load, and cost to produce an acceptance decision with confidence and detailed scoring.

Required fields:

  • task_summary (string, max 10000 chars)

Optional fields:

  • task_details, input_mime_types, output_mime_types, max_latency_ms, max_cost_amount, required_tools, forbidden_tools, min_score, weights
post/agent/negotiation

Request body

task_summarystring required

Brief summary of the task

task_detailsstring

Detailed task description

input_mime_typesstring[]

Accepted input MIME types

output_mime_typesstring[]

Accepted output MIME types

max_latency_msinteger

Maximum acceptable latency in milliseconds

max_cost_amountstring

Maximum acceptable cost as a string

required_toolsstring[]

Tools that must be available

forbidden_toolsstring[]

Tools that must not be used

min_scorenumber

Minimum acceptance score threshold

Response

Capability assessment result

acceptedboolean required

Whether the agent accepts the task

scorenumber required

Overall weighted score

confidencenumber required

Confidence in the assessment

rejection_reasonstring

Reason for rejection if not accepted

matched_tagsstring[]

Tags that matched the task

matched_capabilitiesstring[]

Capabilities that matched the task

latency_estimate_msinteger

Estimated latency in milliseconds

queue_depthinteger

Current queue depth

Changes