API reference

Tools

Priced tools a request or agent can call.

On this page

GET/v1/tools

Every tool, its input schema and its price.

Auth: None

No parameters.

GET /v1/tools

curl
curl https://api.usdf.fi/v1/tools

POST/v1/tools/{id}

Runs one tool with the input its schema requires.

Auth: API key: Authorization: Bearer sk_…

NameTypeRequiredDescription
idstringYesPath. The tool id.

POST /v1/tools/{id}

curl
curl -X POST https://api.usdf.fi/v1/tools/{id} \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'