mcpbeat

A2a json RPC Call

ai-sns/a2a json-rpc call

Call a peer agent's A2A JSON-RPC endpoint. Supports tasks/send (send a task message) and tasks/get (query task status).

2k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
336
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/ai-sns/ai-sns --skill A2A JSON-RPC Call

The instruction itself

as written by the author

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.

How to use it

Copy the folder

Take ai-sns/a2a json-rpc call from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.