API Reference

Agent Tools API

Complete reference for the 13 agent coordination tools.


agent_heartbeat

Keep session active and discover other agents.

ParameterTypeDescription
max_concurrent_tasksnumberDeclare task capacity

agent_list

List all agent sessions.

ParameterTypeDescription
statusstringactive, idle, disconnected

agent_create_task

Create a task for agents.

ParameterTypeRequiredDescription
titlestringYesTask title
descriptionstringNoDetailed description
prioritystringNolow, medium, high, urgent
tagsstring[]NoCategorization tags
estimated_effortstringNoquick, small, medium, large
required_skillsstring[]NoSkills needed
metadataobjectNoAdditional data

agent_claim_task

Claim a task to work on it.

ParameterTypeRequiredDescription
task_idstringYesTask ID

agent_update_task

Update task status or details.

ParameterTypeRequiredDescription
task_idstringYesTask ID
statusstringNoopen, claimed, in_progress, completed, cancelled
prioritystringNoNew priority
descriptionstringNoUpdated description
resultobjectNoTask result data
metadataobjectNoUpdated metadata

agent_list_tasks

List tasks with filters.

ParameterTypeDescription
statusstringFilter by status
assigned_to_mebooleanOnly my tasks

agent_find_matching_tasks

Find tasks matching capabilities.

ParameterTypeDescription
capabilitiesstring[]Agent capabilities
max_effortstringMaximum effort level
exclude_blockedbooleanExclude blocked tasks

agent_post_event

Post to the activity stream.

ParameterTypeRequiredDescription
event_typestringYesEvent category
messagestringYesEvent message
severitystringNoinfo, warning, error
related_task_idstringNoAssociated task
metadataobjectNoAdditional data

agent_get_events

Get recent events.

ParameterTypeDescription
session_idstringFilter by agent
event_typestringFilter by type
limitnumberMax events
exclude_my_eventsbooleanExclude own events

agent_send_message

Send message to agents.

ParameterTypeRequiredDescription
performativestringYesREQUEST, OFFER, DECLINE, INFORM, QUERY, REPORT
contentstringYesMessage content
recipient_session_idstringNoTarget agent (omit for broadcast)
conversation_idstringNoThread identifier
related_task_idstringNoAssociated task
metadataobjectNoAdditional data

agent_get_messages

Get messages for this agent.

ParameterTypeDescription
sender_session_idstringFilter by sender
conversation_idstringFilter by thread
related_task_idstringFilter by task
performativestringFilter by type
unread_onlybooleanOnly unread
limitnumberMax messages

agent_mark_messages_read

Mark messages as read.

ParameterTypeDescription
message_idsstring[]Specific messages (omit for all)

agent_get_workload

View workload distribution.

ParameterTypeDescription
include_idlebooleanInclude idle agents
Previous
Dynamic Tool Tools