← Về thư mục
- _tool_block · function · L37-L38 — def _tool_block(json_body: str) -> str
- test_registry_is_populated_and_every_tool_resolves_to_a_handler · function · L42-L53 — def test_registry_is_populated_and_every_tool_resolves_to_a_handler()
- test_builtin_tools_are_named_classes_with_local_execute_behavior · function · L56-L84 — def test_builtin_tools_are_named_classes_with_local_execute_behavior()
- test_builtin_tool_modules_do_not_construct_eager_singletons · function · L87-L103 — def test_builtin_tool_modules_do_not_construct_eager_singletons()
- test_tool_schema_returns_an_isolated_parameter_copy · function · L106-L112 — def test_tool_schema_returns_an_isolated_parameter_copy()
- test_concrete_tool_instances_do_not_share_mutable_schemas · function · L115-L121 — def test_concrete_tool_instances_do_not_share_mutable_schemas()
- test_control_tool_classes_own_their_security_policy · function · L124-L181 — def test_control_tool_classes_own_their_security_policy()
- test_registration_rejects_shell_completion_and_metadata_only_tools · function · L184-L212 — def test_registration_rejects_shell_completion_and_metadata_only_tools()
- ShellAliasTool · class · L189-L196 — class ShellAliasTool(Tool)
- execute · method · L195-L196 — def execute(self, context, arguments)
- UnscreenedNetworkTool · class · L201-L209 — class UnscreenedNetworkTool(Tool)
- execute · method · L208-L209 — def execute(self, context, arguments)
- test_parse_single_valid_tool_block · function · L216-L223 — def test_parse_single_valid_tool_block()
- test_parse_multiple_blocks_preserve_order · function · L226-L234 — def test_parse_multiple_blocks_preserve_order()
- test_parse_malformed_json_is_recorded_not_raised · function · L237-L241 — def test_parse_malformed_json_is_recorded_not_raised()
- test_parse_unknown_tool_never_raises_and_is_visible · function · L244-L249 — def test_parse_unknown_tool_never_raises_and_is_visible()
- test_unclosed_tool_fence_is_an_error_and_never_executes · function · L252-L257 — def test_unclosed_tool_fence_is_an_error_and_never_executes()
- test_pathologically_nested_json_is_reported_not_raised · function · L260-L265 — def test_pathologically_nested_json_is_reported_not_raised()
- test_tool_fence_nested_in_python_cell_is_not_parsed · function · L268-L283 — def test_tool_fence_nested_in_python_cell_is_not_parsed()
- test_tool_fence_nested_in_other_fence_is_not_parsed · function · L286-L298 — def test_tool_fence_nested_in_other_fence_is_not_parsed()
- test_tool_fence_inside_longer_or_tilde_outer_fence_is_not_parsed · function · L301-L307 — def test_tool_fence_inside_longer_or_tilde_outer_fence_is_not_parsed()
- test_run_tool_calls_caps_count_and_bounds_length · function · L310-L324 — def test_run_tool_calls_caps_count_and_bounds_length()
- disp · function · L315-L317 — def disp(method, args)
- test_one_tool_result_respects_its_strict_output_limit · function · L327-L331 — def test_one_tool_result_respects_its_strict_output_limit()
- test_search_budget_checks_marker_discontinuities_before_dropping_body · function · L334-L351 — def test_search_budget_checks_marker_discontinuities_before_dropping_body()
- test_render_tools_prompt_lists_names_and_convention · function · L355-L363 — def test_render_tools_prompt_lists_names_and_convention()
- test_bash_precheck_flags_catastrophe_but_passes_benign · function · L367-L380 — def test_bash_precheck_flags_catastrophe_but_passes_benign()
- test_bash_precheck_does_not_backtrack_exponentially · function · L383-L391 — def test_bash_precheck_does_not_backtrack_exponentially()
- test_execute_read_tool_routes_to_host_method_with_spec_list · function · L395-L409 — def test_execute_read_tool_routes_to_host_method_with_spec_list()
- disp · function · L398-L400 — def disp(method, args)
- test_execute_bash_is_not_a_tool_and_never_dispatches · function · L412-L427 — def test_execute_bash_is_not_a_tool_and_never_dispatches()
- disp · function · L418-L420 — def disp(method, args)
- test_execute_hallucinated_cell_runner_never_dispatches · function · L430-L445 — def test_execute_hallucinated_cell_runner_never_dispatches()
- disp · function · L434-L436 — def disp(method, args)
- test_execute_reports_error_only_result_as_not_ok · function · L448-L454 — def test_execute_reports_error_only_result_as_not_ok()
- disp · function · L449-L450 — def disp(method, args)
- test_execute_bad_arguments_never_raises_or_dispatches · function · L457-L467 — def test_execute_bad_arguments_never_raises_or_dispatches()
- disp · function · L460-L462 — def disp(method, args)
- test_execute_schema_invalid_arguments_never_reach_dispatcher · function · L470-L495 — def test_execute_schema_invalid_arguments_never_reach_dispatcher()
- disp · function · L473-L475 — def disp(method, args)
- test_execute_hostile_mapping_never_reraises_while_formatting_error · function · L498-L505 — def test_execute_hostile_mapping_never_reraises_while_formatting_error()
- BadCall · class · L499-L501 — class BadCall(dict)
- get · method · L500-L501 — def get(self, args, *kwargs)
- test_execute_huge_dispatch_error_respects_one_tool_limit · function · L508-L517 — def test_execute_huge_dispatch_error_respects_one_tool_limit()
- disp · function · L511-L512 — def disp(method, args)