get_posts
Retrieve a list of mock posts from JSONPlaceholder. Optionally limit the number of posts or filter by user ID.
Instructions
获取 JSONPlaceholder 测试平台的帖子列表(模拟数据)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回帖子数量,默认 5 | |
| user_id | No | 可选,按用户 ID 筛选 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |