Indexing
Submitting an organization
Only organization owners have write access to the tool list.
-
Generate a YAML list of all documented tools that your agent accesses. We recommend using the following prompt to have your agent do this for you:
Terminal window ## BackgroundWe need to submit to Synomy a list of all our `documented tools`.A tool is a `documented tool` when both of these are true:1. It sends requests to exactly one API endpoint, and no other tool sends requests to that endpoint. Tools that run entirely inside your own environment without calling an API, such as reading or writing files or running commands, aren't documented tools.2. Its endpoint has a public reference page: a web page on the API's official documentation site that anyone can read without signing in and that states the endpoint's method, path, parameters and response. A guide, overview, changelog, or an OpenAPI file or other machine-readable spec is not a reference page.Synomy wants the list in the following YAML format, with one entry per tool:**Example (made up, these URLs don't exist)**```yaml- tool_name: list_shipmentsapi_docs_url: https://developers.examplecompany.comapi_docs_access_type: publicendpoint_docs_urls:- https://developers.examplecompany.com/reference/list-shipmentsendpoint: GET /v3/shipments```**Field Definitions**- `tool_name`: the tool's name exactly as it appears in your list of tools, including any prefix.- `api_docs_url`: the home page of the API's documentation site.- `api_docs_access_type`: always `public`.- `endpoint_docs_urls`: the address of the endpoint's reference page. If the page documents several endpoints, add the anchor of the endpoint's section to the URL, if the page you opened shows one. If the method, path, parameters and response are split across several pages, list each page.- `endpoint`: the endpoint's method (`GET`, `POST`, `PUT`, `PATCH` or `DELETE`), a space, and its path. The path is everything after the host, including any segments the documentation puts in the base URL: base URL `https://api.example.com/v3` and path `/shipments` give `/v3/shipments`. Write path parameters in braces, with the names the documentation uses: `/v3/shipments/{shipment_id}`. If the documentation gives the endpoint a different host than the API's other endpoints, write the full URL in place of the path: `GET https://lookups.example.com/v2/numbers/{number}`.## TaskIf you can't open web pages, tell me so and write nothing else.For each tool in your list of tools:1. **Decide whether the tool is a documented tool and which endpoint the tool calls.**2. **Look for the tool's endpoint in Synomy's catalog.** Find the API the tool calls in the catalog index, https://app.synomy.ai/catalog/index.yaml, and open that API's `catalog_file_url`. If an entry in that `catalog_file_url` has the same method and path as the tool's endpoint, copy that entry and add `tool_name`.- Paths match only when every segment is the same, version included: `/v1/customers` doesn't match `/v2/customers`.- Path parameters match whatever their names: `/customers/{id}` matches `/customers/{customer_id}`.- A catalog entry that writes a full URL matches on the URL's path.3. **Otherwise, write the tool's entry yourself.** Open the endpoint's reference page and confirm that it states the endpoint's method and path. Write the address of the reference page you opened, never one from memory. If the catalog index lists the API, copy the API's `api_docs_url` from the catalog index.Leave a tool out of the list and ask me about it instead when it sends requests to an API and any of these is true:- you can't tell which endpoint it calls- its endpoint's method isn't `GET`, `POST`, `PUT`, `PATCH` or `DELETE`- you can't find or open its endpoint's reference pageDon't stop to ask. Finish every other tool first.## ReplyReply with the list in one YAML code block. If no tool is on the list, say so in place of the code block. After the block, write your questions, one per tool, each naming the tool. -
Paste the generated YAML into the text box in your organization’s tools panel (example format shown below).
-
Save your list and confirm your submission.
Format example:
- tool_name: create_ticket api_docs_url: https://developer.helpdeskvendor.com/api-reference/introduction/ api_docs_access_type: public endpoint_docs_urls: - https://developer.helpdeskvendor.com/api-reference/tickets/#create-ticket endpoint: POST /api/v2/tickets- tool_name: get_ticket api_docs_url: https://developer.helpdeskvendor.com/api-reference/introduction/ api_docs_access_type: public endpoint_docs_urls: - https://developer.helpdeskvendor.com/api-reference/tickets/#show-ticket endpoint: GET /api/v2/tickets/{ticket_id}Changing an organization
An org update is identical to a new submit. This means simply paste the full updated list into the tool panel and submit it.
Indexing status
Indexing can take from minutes to hours, depending on your submission size and how many of your tools are new to Synomy. You will receive an email when indexing has finished. The Organizations screen in the console also shows status.