Before you start
You need an OpenAPI 3.x spec in JSON or YAML. Swagger 2.0 specs are rejected with “Only OpenAPI 3.x is supported” — convert yours to 3.x first. The spec doesn’t have to describe your whole API. A smaller spec with only the endpoints the agent should use is easier to review and gives the agent fewer wrong choices.1. Save your API configuration
Click Save Configuration. You must save this section before you can upload a spec — otherwise you see “Save your API configuration before uploading a specification.”
Argide ignores the
servers list in your spec. Every request goes to the API Base URL you enter here.2. Upload your spec
Drag your.json, .yaml, or .yml file onto Upload OpenAPI Specification, or click it to browse. Argide parses the spec and confirms how many tools it generated.
To change the spec later, either:
- Re-upload a new file onto the same drop zone, or
- Click Edit spec to open the Edit OpenAPI Spec editor. Paste or edit the JSON or YAML, then click Save. Argide regenerates the tools as soon as it saves.
operationId is unchanged. Endpoints that are new to the spec start disabled.
3. Enable generated tools
Generated Tools lists one tool per operation, with its HTTP method, tool name, and path. Expand a tool to see itsoperationId, path, and the input schema the agent fills in.
- Switch on each endpoint the agent may call, or click Enable All.
- Click Save Changes.
How your spec becomes tools
Tool names
Each tool is named after the operation’soperationId:
- Characters other than letters, digits, and
_become_.get-orderbecomesget_order. - A name that starts with a digit is prefixed with
api_. - Names are cut to 64 characters.
- An operation without an
operationIdgets one from its method and path.GET /orders/{orderId}becomesget_orders_orderid.
operationId.
What the agent sees
The agent decides which tool to call from its description. Argide builds it from the operation’ssummary, then its description, then the method and path.
The agent fills in:
- Path parameters — always required.
- Query parameters — required when the spec marks them
required. - Header parameters — exposed as
header_<name>. The agent can never setAuthorizationor your API key header; Argide sets those from your Authentication settings. - Request body — from the operation’s
application/jsonschema. A body is only sent withPOST,PUT,PATCH, andDELETE.
$refs (#/components/...) are resolved. Cookie parameters and request bodies with other content types, such as form data or file uploads, aren’t supported.
What the agent gets back
If an operation declares a200 response with an application/json schema, Argide keeps only the fields that schema declares and drops the rest before the agent sees the response. This applies to every response from that endpoint, including errors. Use it to keep large or sensitive fields away from the agent — and make sure the schema lists every field the agent needs.
Responses that aren’t JSON reach the agent as plain text.
Write a spec the agent uses well
- Write a
summaryfor every operation. It’s the first thing the agent reads, and the widget shows it to the user while the call runs. “Get order status” beats “GET order”. - Explain when to use the endpoint in
description. For example: “Use when the user asks where their order is or when it will arrive.” - Describe every parameter. Say what the value is and where it comes from: “The order number, shown as
#12345in the user’s order history.” - Use
enumfor fixed values. The agent picks from the list instead of guessing. - Use clear
operationIds.cancelSubscription, notpost3.
Example spec
Limits
Delete the configuration
At the bottom of the page, click Delete next to Delete Configuration, then confirm. This removes your API configuration, the spec, and every generated tool. The agent can no longer call your API.Troubleshooting
The upload fails
The upload fails
- “Only OpenAPI 3.x is supported” — the spec is Swagger 2.0 or has no
openapifield. Convert it to OpenAPI 3.x. - “Spec is neither valid JSON nor valid YAML” — fix the syntax. Validating the file in an OpenAPI editor shows the error.
- The spec has no
pathsobject — add apathssection with at least one operation. - “Save your API configuration before uploading a specification.” — save API Configuration first.
An endpoint is missing from Generated Tools
An endpoint is missing from Generated Tools
- The spec has more than 100 operations. Trim it to the endpoints the agent needs.
- Two operations produce the same tool name. Give them distinct
operationIds.
The agent doesn't use my API
The agent doesn't use my API
- Check that the tool is switched on and that you clicked Save Changes.
- Improve the operation’s
summaryanddescriptionso it’s clear when the endpoint applies. - If you renamed an
operationId, the tool is now a new tool and starts disabled. Switch it back on.
Calls fail or hit the wrong URL
Calls fail or hit the wrong URL
- The final URL is your API Base URL followed by the spec path. If both contain a prefix like
/api, you get/api/api/.... Put the prefix in one place only. - Make sure the API Base URL is reachable from the public internet.
localhostand private network addresses don’t work. - Calls that take longer than 30 seconds time out.
- A
401or403usually means the credentials are wrong. See Authentication.
The agent ignores part of a response
The agent ignores part of a response
The operation’s
200 response schema doesn’t declare that field, so Argide drops it. Add the field to the schema.
