Skip to main content

How it works

Kyma forwards your tools and tool_choice parameters directly to the model. Same format as OpenAI. No changes needed. Set parallel_tool_calls: false (or tool_choice.disable_parallel_tool_use: true on /v1/messages) and Kyma returns at most one tool call per turn, even when the model tries to call several.

Example

The response looks like this:

Which models support tool calling?

Most active models on Kyma support tool calling. Check /v1/models for the current supports_tools field.

Multi-turn tool use

After receiving a tool call, send the result back:

Works with agent frameworks

Kyma works with LangChain, CrewAI, AutoGen, and any framework that uses OpenAI-style tool calling.