{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 0.99,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 1.0,
      "type": "noul"
    },
    "c05": {
      "noul": 0.99,
      "type": "noul"
    },
    "c06": {
      "noul": 0.99,
      "type": "noul"
    },
    "c07": {
      "noul": 0.99,
      "type": "noul"
    },
    "c08": {
      "noul": 1.0,
      "type": "noul"
    },
    "c09": {
      "noul": 0.99,
      "type": "noul"
    },
    "c10": {
      "noul": 1.0,
      "type": "noul"
    },
    "c11": {
      "noul": 0.99,
      "type": "noul"
    },
    "c12": {
      "noul": 1.0,
      "type": "noul"
    },
    "c13": {
      "noul": 0.99,
      "type": "noul"
    },
    "c14": {
      "noul": 0.99,
      "type": "noul"
    },
    "c15": {
      "noul": 1.0,
      "type": "noul"
    },
    "c16": {
      "noul": 0.99,
      "type": "noul"
    },
    "c17": {
      "noul": 0.99,
      "type": "noul"
    },
    "c18": {
      "noul": 0.87,
      "type": "noul"
    },
    "w00": {
      "noul": 0.97,
      "type": "noul"
    },
    "w01": {
      "noul": 0.96,
      "type": "noul"
    },
    "w02": {
      "noul": 0.97,
      "type": "noul"
    },
    "w03": {
      "noul": 0.91,
      "type": "noul"
    },
    "w04": {
      "noul": 0.94,
      "type": "noul"
    },
    "w05": {
      "noul": 0.92,
      "type": "noul"
    },
    "w06": {
      "noul": 0.97,
      "type": "noul"
    },
    "w07": {
      "noul": 0.91,
      "type": "noul"
    },
    "w08": {
      "noul": 0.97,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T00:25:54Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.99,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 1.0,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.99,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.99,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.99,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 1.0,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.99,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 1.0,
      "question": "c10"
    },
    {
      "call": 11,
      "noul": 0.99,
      "question": "c11"
    },
    {
      "call": 12,
      "noul": 1.0,
      "question": "c12"
    },
    {
      "call": 13,
      "noul": 0.99,
      "question": "c13"
    },
    {
      "call": 14,
      "noul": 0.99,
      "question": "c14"
    },
    {
      "call": 15,
      "noul": 1.0,
      "question": "c15"
    },
    {
      "call": 16,
      "noul": 0.99,
      "question": "c16"
    },
    {
      "call": 17,
      "noul": 0.99,
      "question": "c17"
    },
    {
      "call": 18,
      "noul": 0.87,
      "question": "c18"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 19622,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_connect]\nsystem_description\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_connect"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "system_description": {}
          },
          "parameter": "system_description",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_connect]\nsystem_description\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_connect"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_send_key]\nkey\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_send_key"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "key": {}
          },
          "parameter": "key",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_send_key]\nkey\n  Input should be 'Enter', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'Back', 'Save', 'Cancel', 'Execute', 'Refresh', 'Shift+F1', 'Shift+F2', 'Shift+F3', 'Shift+F4', 'Shift+F5', 'Shift+F6', 'Shift+F7', 'Shift+F8', 'Shift+F9', 'Ctrl+F', 'Ctrl+G' or 'Ctrl+P' [type=literal_error, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/literal_error",
          "tool": "sap_send_key"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_select_checkbox]\ncheckbox_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_select_checkbox"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "checkbox_id": {}
          },
          "parameter": "checkbox_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_select_checkbox]\ncheckbox_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_select_checkbox"
        },
        "type": "noul"
      },
      "c06": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_read_textedit]\ntextedit_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_read_textedit"
        },
        "type": "noul"
      },
      "c07": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "textedit_id": {}
          },
          "parameter": "textedit_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_read_textedit]\ntextedit_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_read_textedit"
        },
        "type": "noul"
      },
      "c08": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "2 validation errors for call[sap_select_alv_context_menu_item]\ngrid_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument\nmenu_item_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_select_alv_context_menu_item"
        },
        "type": "noul"
      },
      "c09": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "grid_id": {},
            "menu_item_id": "didrun"
          },
          "parameter": "grid_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_select_alv_context_menu_item]\ngrid_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_select_alv_context_menu_item"
        },
        "type": "noul"
      },
      "c10": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_get_current_cell]\ntable_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_get_current_cell"
        },
        "type": "noul"
      },
      "c11": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "table_id": {}
          },
          "parameter": "table_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_get_current_cell]\ntable_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_get_current_cell"
        },
        "type": "noul"
      },
      "c12": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "1 validation error for call[sap_select_all_rows]\ngrid_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_select_all_rows"
        },
        "type": "noul"
      },
      "c13": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "grid_id": {}
          },
          "parameter": "grid_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_select_all_rows]\ngrid_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_select_all_rows"
        },
        "type": "noul"
      },
      "c14": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "max_lines": "not a number"
          },
          "parameter": "max_lines",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_read_list]\nmax_lines\n  Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='not a number', input_type=str]\n    For further information visit https://errors.pydantic.dev/2.14/v/int_parsing",
          "tool": "sap_read_list"
        },
        "type": "noul"
      },
      "c15": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "3 validation errors for call[sap_double_click_tree_item]\ntree_id\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument\nnode_key\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument\nitem_name\n  Missing required argument [type=missing_argument, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing_argument",
          "tool": "sap_double_click_tree_item"
        },
        "type": "noul"
      },
      "c16": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "item_name": "didrun",
            "node_key": "didrun",
            "tree_id": {}
          },
          "parameter": "tree_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_double_click_tree_item]\ntree_id\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "sap_double_click_tree_item"
        },
        "type": "noul"
      },
      "c17": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "inline": "not a boolean"
          },
          "parameter": "inline",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "1 validation error for call[sap_screenshot]\ninline\n  Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='not a boolean', input_type=str]\n    For further information visit https://errors.pydantic.dev/2.14/v/bool_parsing",
          "tool": "sap_screenshot"
        },
        "type": "noul"
      },
      "c18": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "Unknown tool: 'didrun_unknown_tool'",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SAP search help guide for `wnd[0]/usr/ctxtMATNR`\n\n1. **Focus the field and open search help.**\n   ```text\n   sap_set_focus(element_id=\"wnd[0]/usr/ctxtMATNR\")\n   sap_send_key(key=\"F4\")\n   ```\n\n2. **Check what opened.**\n   - If SAP says **“No input help is available,”** enter the value directly with `sap_set_field`.\n   - If a **restriction dialog** appears, continue to step 3.\n   - If a **hit list** appears, skip to step 4.\n   - If the field is a dropdown (`GuiComboBox`, ID prefix `cmb`), F4 does not open help. Use `sap_get_combobox_entries` and select an entry by key or text instead.\n\n3. **Enter search criteria, if prompted.**\n   Find the editable fields in the popup:\n   ```text\n   sap_get_screen_elements(container_id=\"wnd[1]/usr\", changeable_only=true)\n   ```\n   Fill in one or more criteria; `*` can be used as a wildcard, for example `T00*`. Press **Enter** to display the hit list. If the dialog has tabs, each tab may offer a different search path.\n\n4. **Read and select a result.**\n   F4 hit lists are classic lists, rather than tables:\n   ```text\n   sap_read_list(window_id=\"wnd[1]\", with_ids=true)\n   ```\n   Use the returned `line_ids` to focus the desired result, then apply it:\n   ```text\n   sap_set_focus(element_id=\"<line_id>\")\n   sap_send_key(key=\"Enter\")\n   ```\n   If the list is longer than one page, use the returned scroll information to read the next page. If the hit count equals the maximum allowed, narrow the criteria instead.\n\n5. **Verify the selected value.**\n   Once the popup closes and the active window is back to `wnd[0]`, read the field:\n   ```text\n   sap_read_field(field_id=\"wnd[0]/usr/ctxtMATNR\")\n   ```\n\n**Tip:** Always focus the intended field before pressing F4; otherwise, SAP may open help for a different field.",
          "done_when": "The tool reply provides the search_help workflow guidance for wnd[0]/usr/ctxtMATNR.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "target": "wnd[0]/usr/ctxtMATNR",
                "workflow": "search_help"
              },
              "reply": "{\"workflow\":\"search_help\",\"target_parameter\":\"field_id\",\"target\":\"wnd[0]/usr/ctxtMATNR\",\"guide\":\"Follow these steps to use F4 value help on field `wnd[0]/usr/ctxtMATNR`:\\n\\n## Step 1 — Dropdowns have no F4\\nA dropdown (`GuiComboBox`, ID prefix `cmb`) opens nothing on F4. List its values and set one by its key or its text:\\n```\\nsap_get_combobox_entries(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<key or text>\\\")\\n```\\nFor any other field, continue.\\n\\n## Step 2 — Focus the field and press F4\\n```\\nsap_set_focus(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_send_key(\\\"F4\\\")\\n```\\n\\n## Step 3 — See what opened\\nThe response shows `screen.active_window` and, for a popup, `screen.popup.classification`:\\n\\n| Response | Meaning | Next |\\n|----------|---------|------|\\n| still `wnd[0]`, message \\\"No input help is available\\\" | the field has no F4 help | type the value with `sap_set_field` |\\n| `list` | hit list | Step 5 |\\n| `input_required` with filter fields | restriction dialog | Step 4 |\\n| `date_picker` | calendar (date field) | Step 6 |\\n| `time_picker` | time picker (time field) | Step 7 |\\n\\n## Step 4 — Restriction dialog\\nSome value helps ask for search criteria first. Find the filter fields:\\n```\\nsap_get_screen_elements(container_id=\\\"wnd[1]/usr\\\", changeable_only=true)\\n```\\nFill one or more (`*` is a wildcard, e.g. `T00*`) and press Enter: the hit list follows. A pre-filled \\\"Maximum No. of Hits\\\" is flagged by the popup notice; keeping it is fine. A dialog with tabs offers one search path per tab (`sap_select_tab`).\\n\\n## Step 5 — Hit list\\nAn F4 hit list is a classic list, not a grid or table control: `sap_get_screen_elements` leaves its cells out. Read it as lines:\\n```\\nsap_read_list(window_id=\\\"wnd[1]\\\", with_ids=true)\\n```\\n- The first line is the column heading; `line_ids` maps each line to a label ID.\\n- A longer list has `scroll` in the response: pass `scroll_to` for the next page.\\n- The title often shows the count (\\\"57 Hits\\\"). When it equals the maximum number of hits, narrow the selection instead of paging.\\n\\nPick a line by focusing it and pressing Enter (the popup's Apply):\\n```\\nsap_set_focus(\\\"<line_id>\\\")\\nsap_send_key(\\\"Enter\\\")\\n```\\n\\n## Step 6 — Date picker\\nCancel it and type the date in the format the field shows (e.g. `10.10.2026`):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<date>\\\")\\n```\\nContinue copies the calendar's focused date (`focus_date`, today by default) into the field.\\n\\n## Step 7 — Time picker\\nIts three dropdowns show the CURRENT time (`time_picker.shown`). Either cancel and type the time (`17:30:00`, or `173000`: SAP formats it on Enter):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<HH:MM:SS>\\\")\\n```\\nor set the dropdowns (two-digit keys; the IDs are in `time_picker`) and press Continue in the same call:\\n```\\nsap_set_batch_fields({\\\"<hour_id>\\\": \\\"08\\\", \\\"<minute_id>\\\": \\\"30\\\", \\\"<second_id>\\\": \\\"00\\\"}, validate=true)\\n```\\n\\n## Step 8 — Verify\\n`active_window` is back to `wnd[0]`. Confirm the value:\\n```\\nsap_read_field(\\\"wnd[0]/usr/ctxtMATNR\\\")\\n```\\n\\n## Common pitfalls\\n- **No focus first**: F4 acts on the focused field; without it, it opens the wrong help or nothing.\\n- **Looking for a table in the popup**: hit lists are classic lists. Use `sap_read_list`, not `sap_read_table`.\\n- **Confirming a date or time picker untouched**: it enters today or the current time, not the value you meant.\\n- **F4 on a dropdown**: nothing happens. Use the combobox tools.\\n- **`sap_handle_popup(action=\\\"auto\\\")`**: only reads hit lists and pickers; it never picks a value for you.\\n\"}",
              "tool": "sap_get_workflow_guide"
            }
          ],
          "task": "Give me the step-by-step SAP search help guide for field wnd[0]/usr/ctxtMATNR."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SAP search help for `wnd[0]/usr/ctxtMATNR`\n\n1. **Focus the field and open search help:**\n   ```text\n   sap_set_focus(\"wnd[0]/usr/ctxtMATNR\")\n   sap_send_key(\"F4\")\n   ```\n\n2. **Check what opened.**\n   - If SAP says **“No input help is available,”** enter the value directly with `sap_set_field`.\n   - If a restriction dialog opens, continue to step 3.\n   - If a hit list opens, skip to step 4.\n\n3. **Enter search criteria, if requested.** Discover the available fields:\n   ```text\n   sap_get_screen_elements(container_id=\"wnd[1]/usr\", changeable_only=true)\n   ```\n   Fill in one or more criteria and press Enter. You can use `*` as a wildcard. If the dialog has tabs, select the appropriate search path with `sap_select_tab`.\n\n4. **Read the hit list:**\n   ```text\n   sap_read_list(window_id=\"wnd[1]\", with_ids=true)\n   ```\n   The response provides line IDs. For a longer list, use its `scroll` information to read the next page. If the hit count equals the maximum number of hits, narrow the search rather than relying on paging.\n\n5. **Select the desired result:**\n   ```text\n   sap_set_focus(\"<line_id>\")\n   sap_send_key(\"Enter\")\n   ```\n\n6. **Verify the selected value:**\n   ```text\n   sap_read_field(\"wnd[0]/usr/ctxtMATNR\")\n   ```\n\n**Tips:** F4 acts on the focused field, so don’t skip step 1. F4 hit lists are classic lists, not tables; use `sap_read_list`, not `sap_read_table`. If the control is a dropdown instead, use `sap_get_combobox_entries` and select a value by key or text—F4 does not open dropdowns.\n\nI retrieved this guide from the SAP workflow tool; I did not open or change the field.",
          "done_when": "The tool reply provides the search_help workflow guidance for wnd[0]/usr/ctxtMATNR.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "target": "wnd[0]/usr/ctxtMATNR",
                "workflow": "search_help"
              },
              "reply": "{\"workflow\":\"search_help\",\"target_parameter\":\"field_id\",\"target\":\"wnd[0]/usr/ctxtMATNR\",\"guide\":\"Follow these steps to use F4 value help on field `wnd[0]/usr/ctxtMATNR`:\\n\\n## Step 1 — Dropdowns have no F4\\nA dropdown (`GuiComboBox`, ID prefix `cmb`) opens nothing on F4. List its values and set one by its key or its text:\\n```\\nsap_get_combobox_entries(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<key or text>\\\")\\n```\\nFor any other field, continue.\\n\\n## Step 2 — Focus the field and press F4\\n```\\nsap_set_focus(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_send_key(\\\"F4\\\")\\n```\\n\\n## Step 3 — See what opened\\nThe response shows `screen.active_window` and, for a popup, `screen.popup.classification`:\\n\\n| Response | Meaning | Next |\\n|----------|---------|------|\\n| still `wnd[0]`, message \\\"No input help is available\\\" | the field has no F4 help | type the value with `sap_set_field` |\\n| `list` | hit list | Step 5 |\\n| `input_required` with filter fields | restriction dialog | Step 4 |\\n| `date_picker` | calendar (date field) | Step 6 |\\n| `time_picker` | time picker (time field) | Step 7 |\\n\\n## Step 4 — Restriction dialog\\nSome value helps ask for search criteria first. Find the filter fields:\\n```\\nsap_get_screen_elements(container_id=\\\"wnd[1]/usr\\\", changeable_only=true)\\n```\\nFill one or more (`*` is a wildcard, e.g. `T00*`) and press Enter: the hit list follows. A pre-filled \\\"Maximum No. of Hits\\\" is flagged by the popup notice; keeping it is fine. A dialog with tabs offers one search path per tab (`sap_select_tab`).\\n\\n## Step 5 — Hit list\\nAn F4 hit list is a classic list, not a grid or table control: `sap_get_screen_elements` leaves its cells out. Read it as lines:\\n```\\nsap_read_list(window_id=\\\"wnd[1]\\\", with_ids=true)\\n```\\n- The first line is the column heading; `line_ids` maps each line to a label ID.\\n- A longer list has `scroll` in the response: pass `scroll_to` for the next page.\\n- The title often shows the count (\\\"57 Hits\\\"). When it equals the maximum number of hits, narrow the selection instead of paging.\\n\\nPick a line by focusing it and pressing Enter (the popup's Apply):\\n```\\nsap_set_focus(\\\"<line_id>\\\")\\nsap_send_key(\\\"Enter\\\")\\n```\\n\\n## Step 6 — Date picker\\nCancel it and type the date in the format the field shows (e.g. `10.10.2026`):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<date>\\\")\\n```\\nContinue copies the calendar's focused date (`focus_date`, today by default) into the field.\\n\\n## Step 7 — Time picker\\nIts three dropdowns show the CURRENT time (`time_picker.shown`). Either cancel and type the time (`17:30:00`, or `173000`: SAP formats it on Enter):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<HH:MM:SS>\\\")\\n```\\nor set the dropdowns (two-digit keys; the IDs are in `time_picker`) and press Continue in the same call:\\n```\\nsap_set_batch_fields({\\\"<hour_id>\\\": \\\"08\\\", \\\"<minute_id>\\\": \\\"30\\\", \\\"<second_id>\\\": \\\"00\\\"}, validate=true)\\n```\\n\\n## Step 8 — Verify\\n`active_window` is back to `wnd[0]`. Confirm the value:\\n```\\nsap_read_field(\\\"wnd[0]/usr/ctxtMATNR\\\")\\n```\\n\\n## Common pitfalls\\n- **No focus first**: F4 acts on the focused field; without it, it opens the wrong help or nothing.\\n- **Looking for a table in the popup**: hit lists are classic lists. Use `sap_read_list`, not `sap_read_table`.\\n- **Confirming a date or time picker untouched**: it enters today or the current time, not the value you meant.\\n- **F4 on a dropdown**: nothing happens. Use the combobox tools.\\n- **`sap_handle_popup(action=\\\"auto\\\")`**: only reads hit lists and pickers; it never picks a value for you.\\n\"}",
              "tool": "sap_get_workflow_guide"
            }
          ],
          "task": "Give me the step-by-step SAP search help guide for field wnd[0]/usr/ctxtMATNR."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SAP search help guide: `wnd[0]/usr/ctxtMATNR`\n\n1. **Focus the field and open search help.**\n   ```text\n   sap_set_focus(\"wnd[0]/usr/ctxtMATNR\")\n   sap_send_key(\"F4\")\n   ```\n   Focusing first matters: F4 acts on the currently focused field.\n\n2. **Check what opened.**\n   - If SAP says **“No input help is available,”** enter the value directly with `sap_set_field`.\n   - If a **restriction dialog** appears, continue to step 3.\n   - If a **hit list** appears, continue to step 4.\n\n3. **Enter search criteria, if requested.** Discover the editable fields in the popup:\n   ```text\n   sap_get_screen_elements(container_id=\"wnd[1]/usr\", changeable_only=true)\n   ```\n   Fill one or more criteria and press Enter. You can use `*` as a wildcard, for example `T00*`. If the dialog has tabs, each tab may offer a different search path.\n\n4. **Read the hit list.** F4 hit lists are classic lists, rather than table controls:\n   ```text\n   sap_read_list(window_id=\"wnd[1]\", with_ids=true)\n   ```\n   Use `scroll_to` if the response indicates more pages. If the hit count equals the maximum number of hits, narrow the search criteria.\n\n5. **Select the desired result.** Focus its line ID and press Enter:\n   ```text\n   sap_set_focus(\"<line_id>\")\n   sap_send_key(\"Enter\")\n   ```\n\n6. **Verify the selected value.** Once the popup closes:\n   ```text\n   sap_read_field(\"wnd[0]/usr/ctxtMATNR\")\n   ```\n\n**Note:** The guide is generic. If a field is a dropdown (`GuiComboBox`, ID prefix `cmb`), F4 does not open help; use `sap_get_combobox_entries` and set an entry by key or text instead.",
          "done_when": "The tool reply provides the search_help workflow guidance for wnd[0]/usr/ctxtMATNR.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "target": "wnd[0]/usr/ctxtMATNR",
                "workflow": "search_help"
              },
              "reply": "{\"workflow\":\"search_help\",\"target_parameter\":\"field_id\",\"target\":\"wnd[0]/usr/ctxtMATNR\",\"guide\":\"Follow these steps to use F4 value help on field `wnd[0]/usr/ctxtMATNR`:\\n\\n## Step 1 — Dropdowns have no F4\\nA dropdown (`GuiComboBox`, ID prefix `cmb`) opens nothing on F4. List its values and set one by its key or its text:\\n```\\nsap_get_combobox_entries(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<key or text>\\\")\\n```\\nFor any other field, continue.\\n\\n## Step 2 — Focus the field and press F4\\n```\\nsap_set_focus(\\\"wnd[0]/usr/ctxtMATNR\\\")\\nsap_send_key(\\\"F4\\\")\\n```\\n\\n## Step 3 — See what opened\\nThe response shows `screen.active_window` and, for a popup, `screen.popup.classification`:\\n\\n| Response | Meaning | Next |\\n|----------|---------|------|\\n| still `wnd[0]`, message \\\"No input help is available\\\" | the field has no F4 help | type the value with `sap_set_field` |\\n| `list` | hit list | Step 5 |\\n| `input_required` with filter fields | restriction dialog | Step 4 |\\n| `date_picker` | calendar (date field) | Step 6 |\\n| `time_picker` | time picker (time field) | Step 7 |\\n\\n## Step 4 — Restriction dialog\\nSome value helps ask for search criteria first. Find the filter fields:\\n```\\nsap_get_screen_elements(container_id=\\\"wnd[1]/usr\\\", changeable_only=true)\\n```\\nFill one or more (`*` is a wildcard, e.g. `T00*`) and press Enter: the hit list follows. A pre-filled \\\"Maximum No. of Hits\\\" is flagged by the popup notice; keeping it is fine. A dialog with tabs offers one search path per tab (`sap_select_tab`).\\n\\n## Step 5 — Hit list\\nAn F4 hit list is a classic list, not a grid or table control: `sap_get_screen_elements` leaves its cells out. Read it as lines:\\n```\\nsap_read_list(window_id=\\\"wnd[1]\\\", with_ids=true)\\n```\\n- The first line is the column heading; `line_ids` maps each line to a label ID.\\n- A longer list has `scroll` in the response: pass `scroll_to` for the next page.\\n- The title often shows the count (\\\"57 Hits\\\"). When it equals the maximum number of hits, narrow the selection instead of paging.\\n\\nPick a line by focusing it and pressing Enter (the popup's Apply):\\n```\\nsap_set_focus(\\\"<line_id>\\\")\\nsap_send_key(\\\"Enter\\\")\\n```\\n\\n## Step 6 — Date picker\\nCancel it and type the date in the format the field shows (e.g. `10.10.2026`):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<date>\\\")\\n```\\nContinue copies the calendar's focused date (`focus_date`, today by default) into the field.\\n\\n## Step 7 — Time picker\\nIts three dropdowns show the CURRENT time (`time_picker.shown`). Either cancel and type the time (`17:30:00`, or `173000`: SAP formats it on Enter):\\n```\\nsap_handle_popup(action=\\\"cancel\\\")\\nsap_set_field(\\\"wnd[0]/usr/ctxtMATNR\\\", \\\"<HH:MM:SS>\\\")\\n```\\nor set the dropdowns (two-digit keys; the IDs are in `time_picker`) and press Continue in the same call:\\n```\\nsap_set_batch_fields({\\\"<hour_id>\\\": \\\"08\\\", \\\"<minute_id>\\\": \\\"30\\\", \\\"<second_id>\\\": \\\"00\\\"}, validate=true)\\n```\\n\\n## Step 8 — Verify\\n`active_window` is back to `wnd[0]`. Confirm the value:\\n```\\nsap_read_field(\\\"wnd[0]/usr/ctxtMATNR\\\")\\n```\\n\\n## Common pitfalls\\n- **No focus first**: F4 acts on the focused field; without it, it opens the wrong help or nothing.\\n- **Looking for a table in the popup**: hit lists are classic lists. Use `sap_read_list`, not `sap_read_table`.\\n- **Confirming a date or time picker untouched**: it enters today or the current time, not the value you meant.\\n- **F4 on a dropdown**: nothing happens. Use the combobox tools.\\n- **`sap_handle_popup(action=\\\"auto\\\")`**: only reads hit lists and pickers; it never picks a value for you.\\n\"}",
              "tool": "sap_get_workflow_guide"
            }
          ],
          "task": "Give me the step-by-step SAP search help guide for field wnd[0]/usr/ctxtMATNR."
        },
        "type": "noul"
      },
      "w03": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SM30 read-first guide: reading a table\n\n1. **Open the view**\n   - Start transaction `SM30`.\n   - Discover the input field and buttons with `sap_get_screen_elements`.\n   - Enter the table or view name and choose **Display**, not Maintain.\n   - If SAP asks you to determine a work area, enter the requested subset, such as a company code, and confirm.\n\n2. **Discover and read the table**\n   - Find the table control:\n     ```text\n     sap_get_screen_elements(type_filter=\"GuiTableControl\")\n     ```\n   - Read its column schema, then its entries:\n     ```text\n     sap_read_table(table_id=\"<table_id>\", columns_only=true)\n     sap_read_table(table_id=\"<table_id>\", max_rows=50)\n     ```\n\n3. **Navigate the entries**\n   - Use **Position…** to jump to a specific key.\n   - To page through entries, pass the previous response’s `next_start_row` as `start_row`; stop when `has_more` is false.\n   - `total_rows` can include empty padding rows. `empty_rows_from` identifies where entries end. The position text below the table can also show the entry count.\n   - For an empty view, technical column names may not yet be available; columns are flagged `name_is_title`.\n\n**Caution:** In table maintenance, F5 creates new entries—it is not Refresh. Switch to change mode only if a change is requested.",
          "done_when": "The tool reply provides the SM30 transaction guide for the requested task.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "task": "reading a table",
                "transaction": "SM30"
              },
              "reply": "{\"transaction\":\"SM30\",\"task\":\"reading a table\",\"mode\":\"read-first\",\"guide\":\"Use this guide for **table/view maintenance** (`SM30`) and **view clusters** (`SM34`). Most IMG (SPRO) activities open one of these two screens, so it applies there too.\\n\\nKeep the user goal in mind while navigating: reading a table.\\n\\n## Usage mode\\n- **Read first.** Open in display mode, understand the view, and only then switch to maintenance if the user asked for a change.\\n- Customizing changes are recorded in a transport request. Which request is the USER's decision, never yours.\\n\\n## Step 1 — Open the view\\n```\\nsap_execute_transaction(\\\"SM30\\\")     # single view\\nsap_execute_transaction(\\\"SM34\\\")     # view cluster\\n```\\n- Discover the initial screen instead of guessing IDs:\\n```\\nsap_get_screen_elements(changeable_only=true)\\nsap_get_screen_elements(type_filter=\\\"GuiButton\\\")\\n```\\n- Enter the view / view cluster name, then press **Display** (not Maintain) for a first look.\\n- A \\\"Determine Work Area\\\" popup may ask for a subset (e.g. a warehouse or company code). The response of the button press carries a `popup` digest; fill the fields it lists and confirm.\\n\\n## Step 2 — Read the table\\n- The entries are a `GuiTableControl`. Discovery lists it as ONE element:\\n```\\nsap_get_screen_elements(type_filter=\\\"GuiTableControl\\\")\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)\\nsap_read_table(\\\"<table_id>\\\", max_rows=50)\\n```\\n- `total_rows` includes empty padding rows. When a read reaches them, the response has `empty_rows_from`: the entries end at that row. The position text under the table (\\\"Entry 1 of 210\\\") gives the count too.\\n- To jump to an entry use the **Position...** button (a popup asks for the key), not manual scrolling. For everything else page with `start_row`: pass the previous `next_start_row` and stop when `has_more` is false.\\n- An EMPTY view in display mode has no cells, so technical column names do not exist yet: columns are flagged `name_is_title`. Read the schema again once a row exists.\\n\\n## Step 3 — View clusters: the dialog structure\\n- The tree on the left is a docking container BESIDE the user area. `sap_get_screen_elements` reports it as `docking_containers` (typically `wnd[0]/shellcont`), the tree itself is usually `wnd[0]/shellcont/shell`:\\n```\\nsap_read_tree(\\\"wnd[0]/shellcont/shell\\\")\\n```\\n- Switch to a node's view with an ITEM double-click, using the tree's column name (from `column_names`, usually `Column1`):\\n```\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<node_key>\\\", \\\"Column1\\\")\\n```\\n- `sap_double_click_tree_node` reports success there but does NOT switch the view. Always verify: the window title changes to the node's name.\\n- A dependent node (a child in the tree) shows the entries OF the selected parent entry. Select the parent row first, then open the child:\\n```\\nsap_select_table_row(\\\"<parent_table_id>\\\", 0)\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<child_key>\\\", \\\"Column1\\\")\\n```\\n- \\\"No entries found that match the selection criteria\\\" on a child view means that parent entry simply has none.\\n\\n## Step 4 — Maintain entries (only when asked)\\n- Switch to change mode (Display <-> Change button), then **New Entries** is `F5` (in table maintenance F5 is NOT refresh).\\n- Take the cell IDs from the schema instead of building them by hand — it gives the right txt/ctxt/cmb prefix per column:\\n```\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)   # column_info[*].cell_id, {row} = visible row\\nsap_set_batch_fields({\\\"<cell_id row 0>\\\": \\\"...\\\", \\\"<cell_id row 1>\\\": \\\"...\\\"}, validate=true)\\n```\\n- Only VISIBLE rows can be filled. When the visible rows are used up, scroll with `sap_scroll_table_control` and read the schema again (row 0 is then the first visible row).\\n- `validate=true` presses Enter: check `failed == 0`, `validation.performed` and `message_type` (E = the row was rejected) before filling more rows. When a cell failed, Enter is not pressed. Offer `sap_preview` before saving a larger batch.\\n\\n## Step 5 — Save\\n- `F11` / Save asks the user for confirmation first.\\n- A **\\\"Prompt for Customizing request\\\"** popup usually follows. SAP pre-fills the user's last request, which may belong to a different project. The save response shows it as `popup.prefilled_inputs` with a notice. Tell the user which request is pre-filled and ask; change the field first if it is wrong. Never confirm it blindly.\\n- Success is the status message \\\"Data was saved\\\" (`message_type` S).\\n\\n## Leaving\\n- `F3` from a changed view asks whether to save. Read that popup; do not auto-confirm.\\n- `sap_execute_transaction(\\\"/n\\\")` leaves without saving: unsaved entries are lost.\\n\\n## Common pitfalls\\n- Looking for the dialog-structure tree under `wnd[0]/usr` (it is under `wnd[0]/shellcont`)\\n- Using `sap_double_click_tree_node` in a view cluster and assuming the view switched\\n- Opening a child node without a selected parent entry\\n- Treating `total_rows` as the number of entries\\n- Pressing F5 to \\\"refresh\\\" (it creates new entries)\\n- Accepting the pre-filled customizing request\\n- Drag-and-drop screens cannot be scripted at all — stop and tell the user\\n\"}",
              "tool": "sap_get_transaction_guide"
            }
          ],
          "task": "Show me the read-first transaction guide for SM30 table maintenance, focusing on reading a table."
        },
        "type": "noul"
      },
      "w04": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SM30 read-first guide: reading a table\n\n**Start in Display mode.** Inspect the view before switching to maintenance; only make changes if requested.\n\n### 1. Open the view\n\n1. Run transaction **SM30**. For a view cluster, use **SM34** instead.\n2. Discover the screen fields and buttons rather than guessing their IDs:\n   ```\n   sap_get_screen_elements(changeable_only=true)\n   sap_get_screen_elements(type_filter=\"GuiButton\")\n   ```\n3. Enter the view name and choose **Display**, not Maintain.\n4. If SAP opens a **Determine Work Area** popup, enter the requested subset—such as warehouse or company code—and confirm.\n\n### 2. Read the entries\n\nThe entries are typically in a `GuiTableControl`. Discover the table, inspect its columns, then read its rows:\n\n```text\nsap_get_screen_elements(type_filter=\"GuiTableControl\")\nsap_read_table(table_id=\"<table_id>\", columns_only=true)\nsap_read_table(table_id=\"<table_id>\", max_rows=50)\n```\n\n- **Page through results:** pass the previous response’s `next_start_row` as `start_row`; stop when `has_more` is false.\n- **Find a particular entry:** use **Position…** and enter its key rather than scrolling manually.\n- **Watch for padding:** `total_rows` includes empty rows. `empty_rows_from` marks where entries end; the on-screen position text may also give the entry count.\n- **Empty views:** in Display mode, technical column names may not yet exist; columns are flagged `name_is_title`.\n\n### 3. If it is a view cluster\n\nThe dialog-structure tree is beside the user area, usually at `wnd[0]/shellcont/shell`:\n\n```text\nsap_read_tree(tree_id=\"wnd[0]/shellcont/shell\")\n```\n\nOpen a view with an **item double-click**, using the tree’s reported column name, usually `Column1`, and verify that the window title changes. For a dependent child view, select the parent row first; the child then shows entries for that parent.\n\n### Cautions\n\n- In table maintenance, **F5 creates new entries**; it is not Refresh.\n- Do not treat `total_rows` as the number of populated e",
          "done_when": "The tool reply provides the SM30 transaction guide for the requested task.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "task": "reading a table",
                "transaction": "SM30"
              },
              "reply": "{\"transaction\":\"SM30\",\"task\":\"reading a table\",\"mode\":\"read-first\",\"guide\":\"Use this guide for **table/view maintenance** (`SM30`) and **view clusters** (`SM34`). Most IMG (SPRO) activities open one of these two screens, so it applies there too.\\n\\nKeep the user goal in mind while navigating: reading a table.\\n\\n## Usage mode\\n- **Read first.** Open in display mode, understand the view, and only then switch to maintenance if the user asked for a change.\\n- Customizing changes are recorded in a transport request. Which request is the USER's decision, never yours.\\n\\n## Step 1 — Open the view\\n```\\nsap_execute_transaction(\\\"SM30\\\")     # single view\\nsap_execute_transaction(\\\"SM34\\\")     # view cluster\\n```\\n- Discover the initial screen instead of guessing IDs:\\n```\\nsap_get_screen_elements(changeable_only=true)\\nsap_get_screen_elements(type_filter=\\\"GuiButton\\\")\\n```\\n- Enter the view / view cluster name, then press **Display** (not Maintain) for a first look.\\n- A \\\"Determine Work Area\\\" popup may ask for a subset (e.g. a warehouse or company code). The response of the button press carries a `popup` digest; fill the fields it lists and confirm.\\n\\n## Step 2 — Read the table\\n- The entries are a `GuiTableControl`. Discovery lists it as ONE element:\\n```\\nsap_get_screen_elements(type_filter=\\\"GuiTableControl\\\")\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)\\nsap_read_table(\\\"<table_id>\\\", max_rows=50)\\n```\\n- `total_rows` includes empty padding rows. When a read reaches them, the response has `empty_rows_from`: the entries end at that row. The position text under the table (\\\"Entry 1 of 210\\\") gives the count too.\\n- To jump to an entry use the **Position...** button (a popup asks for the key), not manual scrolling. For everything else page with `start_row`: pass the previous `next_start_row` and stop when `has_more` is false.\\n- An EMPTY view in display mode has no cells, so technical column names do not exist yet: columns are flagged `name_is_title`. Read the schema again once a row exists.\\n\\n## Step 3 — View clusters: the dialog structure\\n- The tree on the left is a docking container BESIDE the user area. `sap_get_screen_elements` reports it as `docking_containers` (typically `wnd[0]/shellcont`), the tree itself is usually `wnd[0]/shellcont/shell`:\\n```\\nsap_read_tree(\\\"wnd[0]/shellcont/shell\\\")\\n```\\n- Switch to a node's view with an ITEM double-click, using the tree's column name (from `column_names`, usually `Column1`):\\n```\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<node_key>\\\", \\\"Column1\\\")\\n```\\n- `sap_double_click_tree_node` reports success there but does NOT switch the view. Always verify: the window title changes to the node's name.\\n- A dependent node (a child in the tree) shows the entries OF the selected parent entry. Select the parent row first, then open the child:\\n```\\nsap_select_table_row(\\\"<parent_table_id>\\\", 0)\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<child_key>\\\", \\\"Column1\\\")\\n```\\n- \\\"No entries found that match the selection criteria\\\" on a child view means that parent entry simply has none.\\n\\n## Step 4 — Maintain entries (only when asked)\\n- Switch to change mode (Display <-> Change button), then **New Entries** is `F5` (in table maintenance F5 is NOT refresh).\\n- Take the cell IDs from the schema instead of building them by hand — it gives the right txt/ctxt/cmb prefix per column:\\n```\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)   # column_info[*].cell_id, {row} = visible row\\nsap_set_batch_fields({\\\"<cell_id row 0>\\\": \\\"...\\\", \\\"<cell_id row 1>\\\": \\\"...\\\"}, validate=true)\\n```\\n- Only VISIBLE rows can be filled. When the visible rows are used up, scroll with `sap_scroll_table_control` and read the schema again (row 0 is then the first visible row).\\n- `validate=true` presses Enter: check `failed == 0`, `validation.performed` and `message_type` (E = the row was rejected) before filling more rows. When a cell failed, Enter is not pressed. Offer `sap_preview` before saving a larger batch.\\n\\n## Step 5 — Save\\n- `F11` / Save asks the user for confirmation first.\\n- A **\\\"Prompt for Customizing request\\\"** popup usually follows. SAP pre-fills the user's last request, which may belong to a different project. The save response shows it as `popup.prefilled_inputs` with a notice. Tell the user which request is pre-filled and ask; change the field first if it is wrong. Never confirm it blindly.\\n- Success is the status message \\\"Data was saved\\\" (`message_type` S).\\n\\n## Leaving\\n- `F3` from a changed view asks whether to save. Read that popup; do not auto-confirm.\\n- `sap_execute_transaction(\\\"/n\\\")` leaves without saving: unsaved entries are lost.\\n\\n## Common pitfalls\\n- Looking for the dialog-structure tree under `wnd[0]/usr` (it is under `wnd[0]/shellcont`)\\n- Using `sap_double_click_tree_node` in a view cluster and assuming the view switched\\n- Opening a child node without a selected parent entry\\n- Treating `total_rows` as the number of entries\\n- Pressing F5 to \\\"refresh\\\" (it creates new entries)\\n- Accepting the pre-filled customizing request\\n- Drag-and-drop screens cannot be scripted at all — stop and tell the user\\n\"}",
              "tool": "sap_get_transaction_guide"
            }
          ],
          "task": "Show me the read-first transaction guide for SM30 table maintenance, focusing on reading a table."
        },
        "type": "noul"
      },
      "w05": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## SM30 read-first guide: reading a table\n\n1. **Open the view in display mode**\n   - Start transaction `SM30`.\n   - Discover the initial screen’s fields and buttons rather than guessing their IDs.\n   - Enter the table or view name and choose **Display**, not Maintain.\n   - If SAP asks you to “Determine Work Area,” enter the requested subset, such as a warehouse or company code.\n\n2. **Discover and read the table**\n   - Find the `GuiTableControl` with `sap_get_screen_elements`.\n   - Use `sap_read_table` with `columns_only=true` to inspect the schema, then read the rows.\n   - To paginate, pass the previous response’s `next_start_row` as `start_row` until `has_more` is false.\n   - For a particular entry, use **Position…** and enter its key.\n\n3. **Interpret the results carefully**\n   - `total_rows` can include empty padding rows. If returned, `empty_rows_from` marks where actual entries end. The on-screen position text, such as “Entry 1 of 210,” also gives the count.\n   - An empty view in display mode has no cells from which to obtain technical column names; columns are flagged `name_is_title`. Read the schema again once a row exists.\n\n4. **If it is a view cluster**\n   - View clusters use `SM34`. Their dialog-structure tree is beside the user area, typically at `wnd[0]/shellcont/shell`.\n   - Double-click the tree **item** to switch views and verify that the window title changes.\n   - For a child view, select the parent row first. “No entries found” for the child can simply mean that parent has no dependent entries.\n\n**Safety notes:** Stay in display mode unless a change is requested. In table maintenance, **F5 creates new entries; it is not Refresh**. Customizing transport requests are the user’s choice and should not be accepted blindly.",
          "done_when": "The tool reply provides the SM30 transaction guide for the requested task.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "task": "reading a table",
                "transaction": "SM30"
              },
              "reply": "{\"transaction\":\"SM30\",\"task\":\"reading a table\",\"mode\":\"read-first\",\"guide\":\"Use this guide for **table/view maintenance** (`SM30`) and **view clusters** (`SM34`). Most IMG (SPRO) activities open one of these two screens, so it applies there too.\\n\\nKeep the user goal in mind while navigating: reading a table.\\n\\n## Usage mode\\n- **Read first.** Open in display mode, understand the view, and only then switch to maintenance if the user asked for a change.\\n- Customizing changes are recorded in a transport request. Which request is the USER's decision, never yours.\\n\\n## Step 1 — Open the view\\n```\\nsap_execute_transaction(\\\"SM30\\\")     # single view\\nsap_execute_transaction(\\\"SM34\\\")     # view cluster\\n```\\n- Discover the initial screen instead of guessing IDs:\\n```\\nsap_get_screen_elements(changeable_only=true)\\nsap_get_screen_elements(type_filter=\\\"GuiButton\\\")\\n```\\n- Enter the view / view cluster name, then press **Display** (not Maintain) for a first look.\\n- A \\\"Determine Work Area\\\" popup may ask for a subset (e.g. a warehouse or company code). The response of the button press carries a `popup` digest; fill the fields it lists and confirm.\\n\\n## Step 2 — Read the table\\n- The entries are a `GuiTableControl`. Discovery lists it as ONE element:\\n```\\nsap_get_screen_elements(type_filter=\\\"GuiTableControl\\\")\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)\\nsap_read_table(\\\"<table_id>\\\", max_rows=50)\\n```\\n- `total_rows` includes empty padding rows. When a read reaches them, the response has `empty_rows_from`: the entries end at that row. The position text under the table (\\\"Entry 1 of 210\\\") gives the count too.\\n- To jump to an entry use the **Position...** button (a popup asks for the key), not manual scrolling. For everything else page with `start_row`: pass the previous `next_start_row` and stop when `has_more` is false.\\n- An EMPTY view in display mode has no cells, so technical column names do not exist yet: columns are flagged `name_is_title`. Read the schema again once a row exists.\\n\\n## Step 3 — View clusters: the dialog structure\\n- The tree on the left is a docking container BESIDE the user area. `sap_get_screen_elements` reports it as `docking_containers` (typically `wnd[0]/shellcont`), the tree itself is usually `wnd[0]/shellcont/shell`:\\n```\\nsap_read_tree(\\\"wnd[0]/shellcont/shell\\\")\\n```\\n- Switch to a node's view with an ITEM double-click, using the tree's column name (from `column_names`, usually `Column1`):\\n```\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<node_key>\\\", \\\"Column1\\\")\\n```\\n- `sap_double_click_tree_node` reports success there but does NOT switch the view. Always verify: the window title changes to the node's name.\\n- A dependent node (a child in the tree) shows the entries OF the selected parent entry. Select the parent row first, then open the child:\\n```\\nsap_select_table_row(\\\"<parent_table_id>\\\", 0)\\nsap_double_click_tree_item(\\\"wnd[0]/shellcont/shell\\\", \\\"<child_key>\\\", \\\"Column1\\\")\\n```\\n- \\\"No entries found that match the selection criteria\\\" on a child view means that parent entry simply has none.\\n\\n## Step 4 — Maintain entries (only when asked)\\n- Switch to change mode (Display <-> Change button), then **New Entries** is `F5` (in table maintenance F5 is NOT refresh).\\n- Take the cell IDs from the schema instead of building them by hand — it gives the right txt/ctxt/cmb prefix per column:\\n```\\nsap_read_table(\\\"<table_id>\\\", columns_only=true)   # column_info[*].cell_id, {row} = visible row\\nsap_set_batch_fields({\\\"<cell_id row 0>\\\": \\\"...\\\", \\\"<cell_id row 1>\\\": \\\"...\\\"}, validate=true)\\n```\\n- Only VISIBLE rows can be filled. When the visible rows are used up, scroll with `sap_scroll_table_control` and read the schema again (row 0 is then the first visible row).\\n- `validate=true` presses Enter: check `failed == 0`, `validation.performed` and `message_type` (E = the row was rejected) before filling more rows. When a cell failed, Enter is not pressed. Offer `sap_preview` before saving a larger batch.\\n\\n## Step 5 — Save\\n- `F11` / Save asks the user for confirmation first.\\n- A **\\\"Prompt for Customizing request\\\"** popup usually follows. SAP pre-fills the user's last request, which may belong to a different project. The save response shows it as `popup.prefilled_inputs` with a notice. Tell the user which request is pre-filled and ask; change the field first if it is wrong. Never confirm it blindly.\\n- Success is the status message \\\"Data was saved\\\" (`message_type` S).\\n\\n## Leaving\\n- `F3` from a changed view asks whether to save. Read that popup; do not auto-confirm.\\n- `sap_execute_transaction(\\\"/n\\\")` leaves without saving: unsaved entries are lost.\\n\\n## Common pitfalls\\n- Looking for the dialog-structure tree under `wnd[0]/usr` (it is under `wnd[0]/shellcont`)\\n- Using `sap_double_click_tree_node` in a view cluster and assuming the view switched\\n- Opening a child node without a selected parent entry\\n- Treating `total_rows` as the number of entries\\n- Pressing F5 to \\\"refresh\\\" (it creates new entries)\\n- Accepting the pre-filled customizing request\\n- Drag-and-drop screens cannot be scripted at all — stop and tell the user\\n\"}",
              "tool": "sap_get_transaction_guide"
            }
          ],
          "task": "Show me the read-first transaction guide for SM30 table maintenance, focusing on reading a table."
        },
        "type": "noul"
      },
      "w06": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Confirmation points are set for **transaction execution** and **field writes**. Save confirmation remains always on.",
          "done_when": "The tool reply confirms that transactions and field_writes are the configured confirmation points.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "points": [
                  "transactions",
                  "field_writes"
                ]
              },
              "reply": "{\"points\":[{\"point\":\"field_writes\",\"source\":\"session\"},{\"point\":\"save\",\"source\":\"always-on\"},{\"point\":\"transactions\",\"source\":\"session\"}],\"active\":[\"field_writes\",\"save\",\"transactions\"],\"removal_declined\":[],\"always_on\":[\"save\"],\"settable\":[\"batch_fields\",\"field_writes\",\"transactions\",\"all_writes\",\"attach\"],\"message\":\"Active confirmation points: field_writes, save, transactions\"}",
              "tool": "sap_set_confirmation_points"
            }
          ],
          "task": "Set SAP confirmation points so that transaction execution and field writes require approval."
        },
        "type": "noul"
      },
      "w07": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Confirmation points are set for **transaction execution** and **field writes**. Saves also require approval; that confirmation point is always on.",
          "done_when": "The tool reply confirms that transactions and field_writes are the configured confirmation points.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "points": [
                  "transactions",
                  "field_writes"
                ]
              },
              "reply": "{\"points\":[{\"point\":\"field_writes\",\"source\":\"session\"},{\"point\":\"save\",\"source\":\"always-on\"},{\"point\":\"transactions\",\"source\":\"session\"}],\"active\":[\"field_writes\",\"save\",\"transactions\"],\"removal_declined\":[],\"always_on\":[\"save\"],\"settable\":[\"batch_fields\",\"field_writes\",\"transactions\",\"all_writes\",\"attach\"],\"message\":\"Active confirmation points: field_writes, save, transactions\"}",
              "tool": "sap_set_confirmation_points"
            }
          ],
          "task": "Set SAP confirmation points so that transaction execution and field writes require approval."
        },
        "type": "noul"
      },
      "w08": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "SAP confirmation points are set: transaction execution and individual field writes now require approval. Save approval remains always on.\n\n**Note:** Batch field writes have a separate confirmation point and are not covered by `field_writes`.",
          "done_when": "The tool reply confirms that transactions and field_writes are the configured confirmation points.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "points": [
                  "transactions",
                  "field_writes"
                ]
              },
              "reply": "{\"points\":[{\"point\":\"field_writes\",\"source\":\"session\"},{\"point\":\"save\",\"source\":\"always-on\"},{\"point\":\"transactions\",\"source\":\"session\"}],\"active\":[\"field_writes\",\"save\",\"transactions\"],\"removal_declined\":[],\"always_on\":[\"save\"],\"settable\":[\"batch_fields\",\"field_writes\",\"transactions\",\"all_writes\",\"attach\"],\"message\":\"Active confirmation points: field_writes, save, transactions\"}",
              "tool": "sap_set_confirmation_points"
            }
          ],
          "task": "Set SAP confirmation points so that transaction execution and field writes require approval."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M82SCS0R4HJ6T03HF5PSHACF",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.97,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.96,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.97,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.91,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.94,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.92,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.97,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.91,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.97,
      "question": "w08"
    }
  ]
}
