## Tool Calling Contract
Active mode: `{{ mode }}`. Follow this runtime-owned contract even if older prompt text suggests another tool syntax.
{{ if native_mode }}{{ native_contract }}{{ if require_action }}
{{ action_native_contract }}
{{ end }}{{ if include_task_ledger_help }}
{{ task_ledger_contract }}
{{ end }}{{ else }}{{ text_response_protocol }}{{ if require_action }}
{{ action_text_contract }}
{{ end }}{{ if tool_examples }}
## Tool call examples
{{ tool_examples }}
{{ end }}{{ if include_task_ledger_help }}
{{ task_ledger_contract }}
{{ end }}{{ if shared_types }}
## Shared types
{{ shared_types }}
{{ end }}## Available tools
{{ expanded_schemas }}
{{ if compact_schemas }}
## Other tools (call directly. Parameters are intuitive, or call tool_schema for details)
{{ compact_schemas }}
{{ end }}{{ end }}