Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level (debug, info, warn, error) | info |
| POSTIZ_BASE_URL | No | Base URL ของ Postiz API | https://api.postiz.app |
| POSTIZ_API_TOKEN | Yes | API Token สำหรับ authentication |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| postiz_list_future_protected_media_ids | List all media IDs that are protected (used in future posts with status: draft, scheduled, or queued). These media should NOT be deleted. |
| postiz_list_all_media | List all media items from Postiz (excluding already deleted media). |
| postiz_find_orphan_media | Find orphaned media (media not used in any future posts). These are candidates for deletion. |
| postiz_cleanup_orphan_media | Clean up orphaned media files. Supports dry-run mode to preview what would be deleted without actually deleting. |
| postiz_get_media_stats | Get statistics about media usage (total media, protected media, orphan media counts). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |