{
  "actions": [
    {
      "index": "2",
      "conditions": [
        "The customer has not provided their account number"
      ],
      "action": "Ask for their account name",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what to ask the customer.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "3",
      "conditions": [
        "The customer provided their account number"
      ],
      "action": "Ask for the new desired credit limit",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what to ask the customer.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "4",
      "conditions": [
        "The customer provided a desired credit limit"
      ],
      "action": "Thank them and confirm the requested change",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what to do.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "5",
      "conditions": [
        "The customer confirmed the desired change"
      ],
      "action": "Use the get_credit_limit tool with the provided account name to get the current limit",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what tool to use and with what information.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "6",
      "conditions": [],
      "action": "Use the change_credit_limit tool with the provided account and desired limit",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what tool to use and with what information.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "7",
      "conditions": [
        "change_credit_limit tool returned success"
      ],
      "action": "Let the customer know that the credit limit has been successfully updated",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what to inform the customer.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    },
    {
      "index": "8",
      "conditions": [
        "change_credit_limit tool returned that can not change the limit"
      ],
      "action": "Apologize and inform the customer that the credit limit change can not be done. Explain why according to tool result",
      "needs_rewrite_rationale": "The action is self-contained and clearly specifies what to inform the customer.",
      "needs_rewrite": false,
      "former_reference": null,
      "rewritten_action": null
    }
  ]
}