Tool — OpenAPI
Expose a REST API to the agent by attaching its OpenAPI 3.x spec. The platform parses the spec and synthesizes one tool per operation.
Toolbox shape (anonymous)
{
"type": "openapi",
"openapi": {
"spec": { /* inlined OpenAPI 3.x document */ },
"auth": { "type": "anonymous" }
}
}auth.type values
anonymous— no credentials sent.connectionwithproject_connection_id— Foundry attaches a static API key (or OAuth tokens) from the named project connection.project_connection_idis required only here.managed_identitywithaudience— the project's managed identity calls the target API. Noproject_connection_idis required; Foundry uses the project MI and acquires a token for the suppliedaudience(the target service's resource URI). You must grant the project MI the appropriate RBAC role on the target service or the agent receives401 Unauthorized.
Multi-entry rules
Multiple openapi entries are allowed in one toolbox only if each entry's spec defines a distinct info.title (the title is the implicit identifier). See toolbox-reference.md § Multi-Tool Toolbox Constraint.
References
- OpenAPI tool documentation
- agent-tools.md — tool index
- foundry-tool-catalog.md — project connections for the
connectionauth path