get_latest_posts
Retrieve blog posts with metadata from V2.ai Insights for content analysis and AI-powered summarization.
Instructions
Retrieves the latest blog posts with metadata
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_latest_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/v2_ai_mcp/main.py:12-14 (handler)The actual logic for fetching the latest posts via fetch_blog_posts().
def _get_latest_posts(): """Retrieves the latest blog posts with metadata""" return fetch_blog_posts() - src/v2_ai_mcp/main.py:81-84 (registration)The registration of the 'get_latest_posts' tool using @mcp.tool().
@mcp.tool() def get_latest_posts(): """Retrieves the latest blog posts with metadata""" return _get_latest_posts()