MCPcopy
hub / github.com/showlab/computer_use_ootb / ToolError

Class ToolError

computer_use_demo/tools/base.py:65–69  ·  view source on GitHub ↗

Raised when a tool encounters an error.

Source from the content-addressed store, hash-verified

63
64
65class ToolError(Exception):
66 """Raised when a tool encounters an error."""
67
68 def __init__(self, message):
69 self.message = message

Callers 15

stopMethod · 0.85
runMethod · 0.85
__call__Method · 0.85
__call__Method · 0.85
validate_pathMethod · 0.85
viewMethod · 0.85
str_replaceMethod · 0.85
insertMethod · 0.85
undo_editMethod · 0.85
read_fileMethod · 0.85
write_fileMethod · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected