OpenParable
Skip to content
← Back to skills

A2A JSON-RPC Call

Agent Building

A2A JSON-RPC Call is an Agent Skill for agent building published in the ai-sns/ai-sns repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ai-sns/ai-sns/blob/HEAD/aisns_backend/skills/skill_a2a_call/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/a2a-json-rpc-call, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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.