Incident postmortem drafter
Drafts a Confluence postmortem from each resolved incident.io incident, with its timeline, impact and follow-ups, for a person to finish.
Search the wiki, read pages, publish and revise documentation. Toolspoke gives your agents 10 of its actions, and you decide which ones each project allows.
Open the marketplace in your workspace, add Confluence to the project your agents work in, and it appears on the gateway immediately.
Provide the credential Confluence asks for. Where to get it, and what it has to be able to reach, is the next section.
Describe the job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. It can use every Confluence action the project leaves on.
Ask it in a channel or a thread, and it replies in the thread it was asked in.
Email it. Each write waits for a person's go-ahead unless that action is allowed in advance.
Mention it on a pull request, and it answers there.
A routine wakes it on a schedule, or when a new item matches.
Any agent in the project can use Confluence, and only the actions the project leaves on.
Atlassian API token. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.
10 actions, each one declared by name in the connector. A workspace policy grants a person all of them, a hand-picked selection, everything on the read side, everything on the write side, or none.
7 read, 3 write, none destructive
Fetches data and changes nothing.
search_pagesSearch the whole site with CQL, Confluence's query language, and return matching content with a short excerpt and its id. This is the only full-text search Confluence offers, and the starting point when you know what a page says but not where it lives; use list_pages instead when you already know the space and only want its contents listed. CQL examples: "type = page AND text ~ 'onboarding'", "space = ENG AND lastModified > now('-14d')", "title ~ 'runbook' AND type = page". Take the id from a result and call get_page for the body. This one action reaches the v1 API at /wiki/rest/api/search, because REST v2 has no search endpoint.
list_pagesList pages, newest changes first when you sort that way, optionally restricted to one space. Returns ids, titles and status but no body unless you ask for one. Use it to walk a space you already know, call list_spaces for the space_id first, and search_pages when you need full-text matching instead. Paging is by the opaque cursor returned in the previous response.
get_pageFetch one page with its body and its current version number. Call this before update_page: the version number it returns is what update_page has to increment, and an update sent with the wrong version is rejected. body_format decides what you get back, storage is Confluence's XHTML storage format and is what create_page and update_page take, while view is rendered HTML that cannot be written back.
list_child_pagesList the direct children of one page, in the order they appear in the sidebar tree. Use it to walk a documentation hierarchy downwards from a known page rather than searching; each result carries an id you can pass to get_page or back into this action. Returns titles and ids only, never bodies.
list_attachmentsList the files attached to a page: filename, media type, size, download link and the version that added each one. Use it to find out what supporting material a page carries. This returns metadata only, it does not download file contents.
list_spacesList the spaces this token can read, with their numeric id, key and name. Call this first for almost anything else: create_page needs the numeric space_id and will not take the key, and CQL queries in search_pages use the key. Takes no required arguments and changes nothing, which is why it is the install-time health check.
get_spaceFetch one space by its numeric id: name, key, type, description, homepage id and author. Use it after list_spaces when you need the homepage id to start walking the tree with list_child_pages, or to read what a space is for before writing into it.
Creates or updates something on the other side.
create_pagePublish a new page in a space. Needs the numeric space_id from list_spaces, the space key such as ENG is not accepted here. Pass parent_id to file the page under an existing one; omit it and the page lands at the top level of the space. The body is sent in the representation you name: storage is Confluence's XHTML storage format (<p>text</p>), wiki is legacy wiki markup, atlas_doc_format is ADF JSON. Returns the new page's id, version and links.
update_pageReplace a page's title and body with a new version. Confluence has no partial edit here: whatever you send becomes the whole page, so read it with get_page first, change what you need, and send the result back. version_number must be exactly the current version plus one, get_page returns the current one, and a stale number is refused rather than silently overwriting someone else's edit. Every version is kept, so this is recoverable through the page history.
add_commentPost a footer comment on a page, the comment thread at the bottom, not an inline annotation on selected text. Prefer this over update_page when you are commenting on a document rather than changing it, because update_page replaces the body wholesale. The body is sent in the representation you name; storage format is plain XHTML such as <p>Looks right to me.</p>.
The gateway enforces each of these, so they can be stated flatly.
10 named actions: 7 that only read and 3 that write. They include search_pages, list_pages and get_page. Nothing outside that list is reachable: the connector declares each operation by name rather than proxying whatever an agent asks for.
Atlassian API token. The connector asks for atlassian site name and email and api token. Values are encrypted at rest and attached to the outbound request by the gateway, so they are never part of the arguments an agent sends and never reach the audit log.
Install Confluence in a project and every agent in that project can use the actions the project leaves on. Describe a job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. The agent answers when someone asks it in Slack, emails it or mentions it on a GitHub pull request, or when its routine wakes it.
The 10 actions above are the whole of it. A call to any other name is refused before it reaches Confluence rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time. This connector writes to Confluence, but nothing in it deletes or permanently alters anything. Toolspoke holds no access to Confluence of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either. Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in Confluence. An agent has to ask. Toolspoke does not retry, queue or back off around Confluence's own rate limits. A call that Confluence refuses comes back to the agent as a failed call.
Yes, in two places. The project switches Confluence's actions on and off one at a time, for everyone in the project at once, and the screen groups them by read, write and destructive so turning off everything that deletes is one click. An individual agent key can then be narrowed further, to particular toolkits in a project and to particular actions in a toolkit. Whatever it was granted, a key never reaches a project its owner cannot.
Every attempt, with the agent that made it and the person that agent belongs to, the full request payload, the response payload, the status, the duration, and what the call cost in sandbox time and model tokens. Values whose key names a secret are masked out before the record is shown to anyone. An operation the connector marks as not retained never has its response body written at all, so the gateway keeps no second copy of what was read.
Drafts a Confluence postmortem from each resolved incident.io incident, with its timeline, impact and follow-ups, for a person to finish.
Finds the Confluence pages nobody has updated in months that people still rely on, and posts them to Slack by owner.
Add Confluence to a project and give it to an agent.