Skip to content

Commit b4ceeb4

Browse files
authored
Update restaurant finder README: add curl command to actually invoke model. (#1232)
* Update README.md * Update samples/agent/adk/restaurant_finder/README.md
1 parent 2eee569 commit b4ceeb4

1 file changed

Lines changed: 26 additions & 5 deletions

File tree

samples/agent/adk/restaurant_finder/README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)