https://api.oumi.ai/v1/projects/{project_id}/tools. Request and response fields use camelCase.
CREATE TOOL REQUEST
POST /v1/projects/{project_id}/tools
The web app’s create form accepts a narrower
toolName than the API. It requires lowercase snake_case that starts with a letter, for example get_weather. The form also requires an output schema, when you provide one, to be an object schema.UPDATE TOOL REQUEST
PATCH /v1/projects/{project_id}/tools/{tool_id}
Tools are immutable. The update request accepts only a new display name.
To change any other field, create a new tool.
TOOL
The API returns this object from create, get, update, and list requests.LIST TOOLS
GET /v1/projects/{project_id}/tools
The response contains
tools, nextPageToken, previousPageToken, pageSize, and totalCount.
VALIDATION RULES
parametersmust be a valid JSON Schema (Draft 2020-12) oftype: "object".- Every name in
parameters.requiredmust be declared inparameters.properties. outputSchema, when present, must be a valid JSON Schema (Draft 2020-12).oneOf,allOf,not,if,then, andelseare rejected anywhere inparametersoroutputSchema. Property names are exempt, so a property namednotis allowed.anyOfis allowed in nested schemas but rejected at the root ofparametersoroutputSchema.- An update request accepts only
displayName. All other fields are immutable. - A delete request returns
409 Conflictwhile implementations still serve the tool. Delete those implementations first. - Requests that fail schema validation return
422.