FetchWebTool class
- Inheritance
-
- Object
- McpLocalTool
- BaseCodingTool
- FetchWebTool
Constructors
- FetchWebTool({String? workingDirectory})
Properties
- description → String
-
A description of what the tool does, used by the LLM.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputSchema
→ Map<
String, dynamic> -
The input parameters JSON schema mapping for the tool.
no setteroverride
- name → String
-
The unique identifier name of the tool.
no setteroverride
- riskLevel → ToolRiskLevel
-
The risk level associated with executing this tool. Defaults to ToolRiskLevel.read.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workingDirectory → String
-
finalinherited
Methods
-
execute(
Map< String, dynamic> arguments) → Future<MCPToolResult> -
Executes the tool actions using the supplied LLM arguments.
override
-
getCanonicalPath(
String filePath) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePath(
String relativeOrAbsolutePath) → String -
inherited
-
toMCPTool(
) → MCPTool -
Convert to standard MCPTool model representation.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited