Skip to navigation

Draft a tool from a description

A model writes the draft (a model call).

Needs the tools:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
descriptionstringRequired

Response

OK

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error