Skip to contents

The default parser accepts JSON objects such as {\"name\": \"tool\", \"arguments\": {...}}, simple name({...}) calls, and bracketed BebeLM calls such as [name(key=\"value\")]. Pass a custom parser to bebel_agent_run() for model- or prompt-specific formats.

Usage

bebel_parse_tool_call(content)

Arguments

content

Accumulated content between BebeLM tool-call delimiters.

Value

A list with name, arguments, and raw.