Agent tool definitions
astroway_agent_toolsGenerates vendor-ready tool definitions from the live AstroWay OpenAPI document, formatted for OpenAI or Anthropic, with call logic kept in a separate executors map so schemas match endpoint validation.
Instructions
Tool definitions for an agent framework, generated from the live OpenAPI document, so the schema a model fills is the schema the endpoint validates. format=openai (default) returns { type, function } objects you can spread straight into a chat completion; format=anthropic returns { name, description, input_schema }. The objects carry nothing of ours: how to call each tool lives in a separate executors map keyed by tool name, because an unexpected key inside a vendor tool object is a 400 at their end.
[Group: Agent Platform] [Endpoint: GET /v1/agent/tools] [Cost: see your plan — endpoint not in the public credit manifest]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text filter applied within the selection, matched against path, summary, description and group. | |
| limit | No | How many tools to return. The ceiling is the OpenAI limit of 128 functions per request; models degrade well before it. Anything left out is counted in `totalMatched`. | |
| format | No | Which vendor contract the tool objects follow. `openai` returns `{ type, function }`, `anthropic` returns `{ name, description, input_schema }`. | openai |
| select | No | What to hand over: `starter` (the curated set, the default), `all`, `group:<tag>` such as `group:Vedic`, or `paths:/chart,/synastry` for an explicit list. An unknown path is named in `notes` rather than dropped. | starter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| notes | No | ||
| tools | No | ||
| format | No | ||
| select | No | ||
| executors | No | ||
| truncated | No | ||
| totalMatched | No | ||
| totalAvailable | No |