latestOpenAPI 3.1.02026-08-08151638.8 KB

718400d06fee

functions

Get Function Definition

Return the function definition that can be used directly by LLM. The actual content depends on the intended model (inference provider, e.g., OpenAI, Anthropic, etc.) and the function itself.

get/v1/functions/{function_name}/definition

Path parameters

function_namestring required

Query parameters

inference_provider'openai' | 'anthropic'

The inference provider, which determines the format of the function definition.

Response

Successful Response

OR