File tree Expand file tree Collapse file tree
samples/agent/adk/restaurant_finder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,11 +29,32 @@ This sample uses the Agent Development Kit (ADK) along with the A2A protocol to
2929 uv run .
3030 ` ` `
3131
32- 4. In another terminal window, verify that the agent is available via A2A:
33-
34- ` ` ` bash
35- curl http://localhost:10002/.well-known/agent-card.json
36- ` ` `
32+ 4. In another terminal window:
33+
34+ * verify that the agent is available via A2A:
35+
36+ ` ` ` bash
37+ curl http://localhost:10002/.well-known/agent-card.json
38+ ` ` `
39+
40+ * send a message to the agent:
41+
42+ ` ` ` bash
43+ curl http://localhost:10002 \
44+ -H ' Content-Type: application/json' \
45+ -d ' {
46+ "jsonrpc": "2.0",
47+ "id": 1,
48+ "method": "message/send",
49+ "params": {
50+ "message": {
51+ "role": "user",
52+ "parts": [{"text": "Find me an Italian restaurant"}],
53+ "messageId": "1"
54+ }
55+ }
56+ }'
57+ ` ` `
3758
3859# # Disclaimer
3960
You can’t perform that action at this time.
0 commit comments