एआई एजेंट्स

कोर प्लेटफ़ॉर्म
agents_messageएआई एजेंट

Send a message or task handoff to an opted-in organisation AI Agent or configured external A2A peer, or cancel an in-flight delivery. Call agents_read with action "peers" first to discover peerIds.

Actions:

  • send: Send a message to a peer agent. Deliver a message (and optional handoff context) to a peer agent. Waits up to waitSeconds for the reply; if still working, poll with agents_read status using the returned deliveryId. Needs targetPeerId, message. May ask for confirmation.
  • cancel: Cancel an active agent delivery. Request cancellation of an in-flight delivery previously started by this caller. Needs deliveryId.

पैरामीटर

नामप्रकारविवरण
action*"send" | "cancel"क्या करना है; प्रत्येक क्रिया का वर्णन टूल विवरण में है।
targetPeerIdstringPeer identifier (or external peer slug) from agents_read peers. (send)
messagestringThe question, instruction, or handoff request to send. (send)
subjectstringOptional short title for the target conversation thread. (send)
contextstringOptional supporting notes or workspace summary for the receiving agent. (send)
contextIdstringOptional thread identifier from an earlier delivery to continue the same conversation. (send)
waitSecondsintegerSeconds to wait inline for a reply (0 for immediate async return, up to 45; default 30). (send)
deliveryIdstringThe deliveryId returned by agents_message send. (cancel)
confirmbooleanकेवल तभी सेट करें जब उपयोगकर्ता ने पहली कॉल से लौटाए गए पूर्वावलोकन की पुष्टि कर दी हो
agents_readएआई एजेंट

List opted-in AI Agents in your organisation and configured external A2A peers, poll the status or reply of an in-flight delivery, or inspect recent agent-to-agent message history.

Actions:

  • peers: List reachable peer agents. Return the opted-in organisation AI Agents and configured external A2A peers this caller is authorised to contact.
  • status: Check delivery status. Poll an agent message delivery by deliveryId and return its status and reply once complete. Needs deliveryId.
  • history: Recent agent-to-agent history. List recent sent or received agent-to-agent deliveries (redacted summaries, no secrets).

पैरामीटर

नामप्रकारविवरण
action*"peers" | "status" | "history"क्या करना है; प्रत्येक क्रिया का वर्णन टूल विवरण में है।
kind"all" | "organisation" | "external"Filter peers by type: all (default), organisation, or external. (peers)
limitintegerMaximum number of peers to return (default 25). (peers, history)
cursorstringPagination cursor from a previous call. (peers, history)
deliveryIdstringThe deliveryId returned by agents_message send. (status)
waitSecondsintegerSeconds to wait for completion before returning (0 to 30, default 15). (status)
direction"all" | "sent" | "received"Which deliveries to include: all (default), sent, or received. (history)