# 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).

- **Type:** Skill
- **Install:** `agentstack add skill-ai-sns-ai-sns-skill-a2a-call`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ai-sns](https://agentstack.voostack.com/s/ai-sns)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ai-sns](https://github.com/ai-sns)
- **Source:** https://github.com/ai-sns/ai-sns/tree/master/aisns_backend/skills/skill_a2a_call
- **Website:** https://www.ai-sns.org

## Install

```sh
agentstack add skill-ai-sns-ai-sns-skill-a2a-call
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ai-sns](https://github.com/ai-sns)
- **Source:** [ai-sns/ai-sns](https://github.com/ai-sns/ai-sns)
- **License:** MIT
- **Homepage:** https://www.ai-sns.org

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ai-sns-ai-sns-skill-a2a-call
- Seller: https://agentstack.voostack.com/s/ai-sns
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
