get_article
Retrieve complete article details including HTML content, description, image URL, and metadata from the Balzac AI content platform for workspace management and publishing workflows.
Instructions
Get full details of an article. When status is "done", includes the full HTML content, description, main picture URL, and metadata.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace UUID | |
| article_id | Yes | Article UUID |
Implementation Reference
- src/tools/articles.ts:22-33 (handler)Registration and implementation handler for the get_article tool.
server.tool( 'get_article', 'Get full details of an article. When status is "done", includes the full HTML content, description, main picture URL, and metadata.', { workspace_id: z.string().describe('Workspace UUID'), article_id: z.string().describe('Article UUID'), }, async ({ workspace_id, article_id }) => { const res = await client.get(`/workspaces/${workspace_id}/articles/${article_id}`); return { content: [{ type: 'text' as const, text: JSON.stringify(res.data) }] }; } );