A2A JSON-RPC Call

SkillCommunication

This skill lets your AI work with a peer agent by sending it task messages and checking on their status. Once added, your AI can hand a task to another agent and follow up on how it is going. It works with peer agents that have an A2A JSON-RPC endpoint.

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to send a task to a peer agent or look up the status of one already underway.

Then ask your AI: use the A2A JSON-RPC Call skill

What your AI can do with it

  • Send a task message to a peer agent
  • Check the status of a task on a peer agent
  • Follow up on work your AI has handed to another agent

What this skill tells your AI

The instructions your AI receives, as published by ai-sns/ai-sns in aisns_backend/skills/skill_a2a_call/SKILL.md and read by ahel’s review.

This skill invokes A2A JSON-RPC methods on a remote agent endpoint.

Input parameters (via stdin JSON):

  • url (string, required): The peer's A2A JSON-RPC endpoint URL.
  • method (string, required): "tasks/send" or "tasks/get".
  • task_id (string, optional): Required for tasks/get. The task ID to query.
  • message_text (string, optional): For tasks/send — a text message to include.
  • message_data (object, optional): For tasks/send — a data payload to include.
  • skill_id (string, optional): For tasks/send — the target skill ID on the peer agent.
  • metadata (object, optional): Extra metadata to attach to the request.

Output (stdout JSON):

  • ok (bool): Whether the call succeeded.
  • result (object): The JSON-RPC result on success.
  • error (string): Error message on failure.

Signals

GitHub stars
339
Forks
10
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
a2a-json-rpc-call
Source
github.com/ai-sns/ai-sns