use_ghost_api
Execute Ghost CMS API actions to browse, read, create, edit, or delete posts, pages, tags, members, and newsletters using admin or content endpoints.
Instructions
Execute a Ghost API action (browse, read, add, edit, delete posts, pages, tags, members, newsletters, and more)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api": "<api>",
"action": "<action>"
},
"name": "use_ghost_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | Which API to use: "admin" for full access, "content" for read-only public data | |
| action | Yes | Action to execute (e.g. "posts.browse", "members.add") | |
| payload | No | Action payload — fields depend on the action. Use ghost_api_help to see available fields. |