Are you an LLM? You can read better optimized documentation at /api/@nhtio/adk/batteries/llm/transformers_js/helpers/variables/barePythonicToolCallParser.md for this page in Markdown format
Variable: barePythonicToolCallParser
ts
const barePythonicToolCallParser: ToolCallParserFn;Defined in: src/batteries/llm/chat_common/tool_parsers.ts:754
Parse a BARE pythonic call — provide_answer(answer=“…”, sources=[“/x”]) — i.e. the pythonic NAME(kwargs) form WITHOUT the surrounding [ … ] list wrapper that pythonicToolCallParser requires. Small models (observed: Gemma-4 E2B via transformers.js) emit this for a single call, sometimes with a leading /, a call: prefix, or smart quotes in the args.
Because the bare shape is a WEAK signal (it can resemble incidental prose like "see foo(bar)"), this parser is gated HARD: it only claims a call whose callee is a real offered tool (ctx.toolNames). That gate is what makes dropping the [ ] requirement safe. Runs after the strict bracketed pythonic parser in the 'auto' order.