Document all public Action Gateway Tool Registry endpoints - #1234
Open
tgillam-do wants to merge 2 commits into
Open
tgillam-do wants to merge 2 commits into
tgillam-do wants to merge 2 commits into
Conversation
Cover every route Edge exposes for Tool Registry under /v2/action-gateway:
tools and health, toolbelts, output views, MCP servers, connections,
sessions, users, and end user limits. Schemas match the gateway's protojson
output and each operation has a response example and a cURL sample.
Drop GET tools/{name}/definition and PATCH connections/{id}; Tool Registry
serves them but Edge does not route them publicly.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents every Tool Registry route that Edge exposes publicly under
/v2/action-gateway: 43 operations across 32 paths. Each operation has request and response schemas, a full JSON response example, and a cURL sample.limits:set), clear (limits:clear)How it was checked
edgeconfig/.../action-infra/tool-registry.jsonnet). Each operation'saction_gateway:{read,create,update,delete}scope is the permission Edge enforces on that route, not one inferred from the HTTP method. For example,tools/removeneedsdeleteandmcp-servers/{server_ref}/resyncneedsupdate.tool-registry.protofrom cthulhu master. The gateway serializes with protojson, so field names follow each field'sjson_name(a mix of snake_case and camelCase), 64-bit integers are strings, durations look like"86400s", and enums use their value names.ProviderRateLimitSpec's numeric fields, which the gateway redacts on public reads, and the output-onlyregionon a VPC connection network in create requests.make lintandmake bundlepass with 0 errors. The remaining warnings are in other sections of the spec.Changes to what #1209 added
GET /v2/action-gateway/tools/{name}/definitionandPATCH /v2/action-gateway/connections/{id}. Tool Registry serves both, but Edge doesn't route either one publicly, so on api.digitalocean.com they return 404. They can come back once Edge exposes them.models.ymlandexamples.ymlinto per-area files undermodels/, with examples inline on each operation.owning_user_numeric_idand sessioninsights.