Discord: pick a channel first
Discord will not accept a post without a channel id, and the ids are not something you know. The agent discovers them.1
Get the schema
The agent calls
integrationSchema with platform: "discord" and sees that this channel
offers a tool for listing channels.2
List the channels
The agent calls Back comes every channel the PostQueen bot can post to, as
triggerTool:{ id, name }. A channel missing
from that list is a permissions question on the Discord side, not a PostQueen one.3
Schedule with the channel id
boards tool, and Reddit with restrictions for flairs. The
pattern is always schema, then tool, then settings.
Instagram: attach a trending audio track to a Reel
Instagram offers anaudioSearch tool for finding music or original sounds.
1
Search for audio
An empty
q returns trending audio:2
Schedule the Reel
A Reel is a single video with
post_type: "post". The two volume numbers mix the track
against the video’s own audio:Audio is not available on
instagram-standalone channels, because the Instagram Audio API
requires Facebook Login. If the tool is missing from the schema, that is why.Video: three questions before one video
Video is the longest discovery chain in the tool set, because the agent has to find out which generator exists, then what that generator accepts, before it can ask for anything.1
Which generators are available
generateVideoOptions returns them. Which ones appear depends on the keys the install has.2
What does this generator accept
Each generator has its own parameters. For Image Text Slides, the voices come from
videoFunctionTool:3
Generate
generateVideoTool takes the generator’s identifier, an output shape and whatever
customParams that generator declared:attachments on the post, exactly like an uploaded file.generateImageTool takes a prompt and returns
a path, which becomes an attachment.
One array, two meanings
postsAndComments holds more than one item when you want more than one message. What that means
depends on the network:
- On X, the items are a thread. The first is the tweet, the rest are replies to it.
- On LinkedIn, the first item is the post and the rest are comments underneath it.
socialPost, each with its own integrationId and date.
Next steps
Tools
Every tool and every parameter it accepts
Limits
What the tools cannot reach, and where those things live