export const FALLBACK_TOOL_INSTRUCTIONS = `This model does not support native function calling. To call a tool, write exactly one fenced code block of the form: \`\`\`tool_call {"name": "TOOL_NAME", "arguments": {"arg1": "value1", "arg2": "value2"}} \`\`\` Rules: - One tool call per response. Wait for the \`\`\`tool_result\`\`\` before calling another. - The fenced block must contain a single JSON object with exactly two keys: "name" and "arguments". - "arguments" must be an object matching the tool's schema. Do not put the arguments at the top level. - If no tool is needed, answer normally without any \`\`\`tool_call\`\`\` block. Example: \`\`\`tool_call {"name": "read_file", "arguments": {"path": "src/index.ts", "limit": 50}} \`\`\` When a tool result shows an error or empty output, do not repeat the exact same call. Adjust your arguments or ask the user.`; export const FALLBACK_RETRY_NUDGE = `Your last \`tool_call\` block was invalid. Check: - It must be a single JSON object inside the fence, not plain text or multiple objects. - It must have "name" (string) and "arguments" (object) keys. - Argument values must match the tool's expected types. Try again with the correct format, or answer without a tool call.`;