Skip to content

Agent tools ​

Generated from docs/agent-gateway-tools.md. This reference lists 40 tools. The count is produced by the generator.

ToolKindRESTWhat it does
get_sitereadGET /agent/v1/siteStart here: the site, what this token may do, and what no agent may ever do.
list_pagesreadGET /agent/v1/pagesList the pages of the site, with their address, type and state.
get_pagereadGET /agent/v1/pageRead one page: every section with its id, text, rich text as markdown and links.
get_site_partreadGET /agent/v1/site-partRead the header, footer, a menu, or the banner.
list_componentsreadGET /agent/v1/componentsThe section types a page can be built from, with guidance and the exact props of each.
list_page_typesreadGET /agent/v1/page-typesThe page types (templates) and which sections each allows or requires.
search_contentreadGET /agent/v1/searchFind words anywhere on the site: every page, the header, footer, menus and banner.
find_linksreadGET /agent/v1/linksFind every link to an address across the whole site, including buttons, menus and the footer.
list_changesreadGET /agent/v1/changesYour recent changes and their state.
get_changereadGET /agent/v1/changes/{change_id}One change: its state and what it does.
preview_changereadGET /agent/v1/changes/{change_id}/previewShow exactly what an open change would do, and whether it could go live by itself. Changes nothing.
edit_textdraftPOST /agent/v1/edits/textReplace words on one page, or everywhere on the site.
remove_linkdraftPOST /agent/v1/edits/remove-linkTake a link down: remove every link to an address on a page or the whole site.
replace_linkdraftPOST /agent/v1/edits/replace-linkPoint every link to one address at a different address.
insert_rich_textdraftPOST /agent/v1/edits/insert-rich-textAdd paragraphs, headings or lists to a text section, written in simple markdown.
edit_componentdraftPOST /agent/v1/edits/componentChange props of one section, for example a heading, button or list of cards.
set_block_cssdraftPOST /agent/v1/edits/block-cssSet or clear the custom CSS on one section.
add_componentdraftPOST /agent/v1/edits/add-componentAdd a section to a page.
remove_componentdraftPOST /agent/v1/edits/remove-componentRemove one section from a page.
move_componentdraftPOST /agent/v1/edits/move-componentMove a section up or down a page.
set_page_detailsdraftPOST /agent/v1/edits/page-detailsChange a page's title, address, or search-engine title and description.
create_pagedraftPOST /agent/v1/edits/create-pageCreate a new page as a draft.
create_pagesdraftPOST /agent/v1/edits/create-pagesBuild several new pages (and menu entries) as one draft change.
remove_menu_itemdraftPOST /agent/v1/edits/menu/remove-itemRemove an item from a menu.
add_menu_itemdraftPOST /agent/v1/edits/menu/add-itemAdd an item to a menu.
rename_menu_itemdraftPOST /agent/v1/edits/menu/rename-itemChange the words on a menu item.
set_menu_item_tiledraftPOST /agent/v1/edits/menu/set-tileSet or clear a photo tile on a mega-menu sub-item.
set_bannerdraftPOST /agent/v1/edits/bannerShow, change or hide the site-wide banner.
set_headerdraftPOST /agent/v1/edits/headerChange the header small link, see-through setting, or the heart on the existing Donate button.
set_footerdraftPOST /agent/v1/edits/footerChange the footer words, contact, social links, tagline, layout, menus or charity number.
list_mediareadGET /agent/v1/mediaList photos and videos in the media library, newest first.
import_mediadraftPOST /agent/v1/media/importsImport a photo into the media library from a public address (runs in the background).
get_media_importreadGET /agent/v1/media/imports/{import_id}See whether a photo import has finished, and get its media_id.
set_alt_textdraftPOST /agent/v1/media/{media_id}/altSet the alt text of a photo in the library (or mark it decorative).
request_publishdecidePOST /agent/v1/changes/{change_id}/request-publishSend a change to a person for approval. It does NOT go live until they approve.
publish_changedecidePOST /agent/v1/changes/{change_id}/publishMake a change live NOW if a rule allows it; otherwise send it for approval.
discard_changedecidePOST /agent/v1/changes/{change_id}/discardThrow away an open change you do not want. Live pages are untouched.
undo_changedecidePOST /agent/v1/changes/{change_id}/undoUndo a change that went live: restore the earlier content as a new change.
update_souldraftPOST /agent/v1/soulPropose a new AI personality. A person must approve it.
propose_plugindraftPOST /agent/v1/pluginsPropose a plugin. A person must approve it.

Field-by-field descriptions stay in the repository source. This page is regenerated by npm --prefix docs-site run build.

Released under the MIT licence.