Get post links
get_post_linksReturns all links of a post. postflow_url opens the post in the PostFlow app for logged in users. public_share_url is a preview link for people without a PostFlow account (clients, guests), it is null until public sharing is enabled, pass enable_public_sharing to turn it on. post_link on each post detail is the published post on the social network, null until the post detail is published. Use this tool when the user asks for a link to a post. The URL formats are the same for every post: postflow_url is https://new.postflow.app/post/{post_id} and public_share_url is https://new.postflow.app/p/{public_id} (public_id and is_publicly_shared come with every post), so derive the links of other posts from their IDs instead of calling this tool again.
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": {
"post_id": "<post_id>"
},
"name": "get_post_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| enable_public_sharing | No | Turn on public sharing of the post so public_share_url is returned. Sharing stays on until disabled with update_post_info. |