get_posts
Retrieve posts from JSONPlaceholder by fetching all posts, a specific post by ID, or filtering by user ID.
Instructions
Get posts from JSONPlaceholder. Can retrieve all posts, a specific post by ID, or filter by user ID.
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 |
|---|---|---|---|
| id | No | Optional post ID to retrieve a specific post | |
| userId | No | Optional user ID to filter posts by user |