Skip to main content
A PNG posted by the session into its thread, shown inline under its comment and file name

Files into a session

Attach files to a message addressed to @computer. The runner downloads each one to a temp directory on the computer, outside the repositories, and gives the model the path. A reason that mentions an HTML page means the bot is missing the files:read scope; see Connect Slack.

Files out of a session

The session posts a file into its thread with the send_file tool. PNG, JPEG, GIF and WebP images render inline; any other file is an attachment. A script running in the session can post without a tool call. It exits 0 when the file is posted; otherwise it prints the reason to stderr and exits 1.

Cards

The session posts a table, a chart or a set of labelled fields as a Slack card with the post_card tool.
A card in a thread: a title, four labelled fields, a table and a link button
  • A card over a limit is refused, never posted in a reduced form.
  • A card whose content includes a secret’s value is not posted.
  • Buttons on a card are links only; none sends a click back to the session.