get_posts
Retrieve a list of mock posts from JSONPlaceholder. Optionally limit the number of posts or filter by user ID.
Instructions
获取 JSONPlaceholder 测试平台的帖子列表(模拟数据)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回帖子数量,默认 5 | |
| user_id | No | 可选,按用户 ID 筛选 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |