Skip to content

Function Calling ​

Let models propose structured tool arguments while your application controls execution.

Execution loop ​

  1. Declare tools and JSON Schema parameters.
  2. Validate the returned tool name and arguments.
  3. Execute the tool on your server.
  4. Send the tool result back to the model.

Your application must enforce authorization, timeouts and confirmation for side effects.

LAYSO AI API 文档