List services
tideways_list_servicesList a project's services (web, APIs, workers, CLI) named by open issues, default first. Use when a named app, API, worker, or transaction is missing from the default service.
Instructions
List the services of a project (web, APIs, workers, CLI) named by its open issues, the default service first. Call it when the user names an app, API or worker that is not a project, or a transaction that tideways_search_traces does not find in the default service, with "search" set to one word of it: each service is searched for that word and the services are sorted by matching traces, so the first ones serve it. Costs 3 requests, plus 1 per service searched: at most 30, and no more than a tenth of the hourly rate limit. Only services named by the newest open issues are listed; the Tideways UI service selector lists all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | One whole word of the app, API, worker or transaction to find (e.g. "voucher"). Searches the traces of each service for it (one request per service: at most 30 services, and no more than a tenth of the hourly rate limit) and sorts the services by matching traces. | |
| project | No | Tideways project as "project" or "organization/project". Defaults to the defaultProject that tideways_list_projects reports; call it for valid names. | |
| environment | No | Environment, e.g. "production" or "staging". Defaults to the configured environment, else production; "environment" in the result shows which was used. When results come back, an unknown name fails with an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Present only with "search" | |
| project | Yes | ||
| services | Yes | Services named by the newest open errors, slow SQL queries and deprecations (first page of each), plus the default service; other services are missing, and the Tideways UI service selector lists all. Sorted default first, then by issues; with "search", by matchingTraces. | |
| environment | Yes | Environment whose issues were read | |
| defaultService | Yes | The project's default service, read when no service is passed or configured |