Class Tool
java.lang.Object
org.openqa.selenium.devtools.v147.webmcp.model.Tool
Definition of a tool that can be invoked.
-
Constructor Summary
ConstructorsConstructorDescriptionTool(String name, String description, Optional<Map<String, Object>> inputSchema, Optional<Annotation> annotations, FrameId frameId, Optional<BackendNodeId> backendNodeId, Optional<StackTrace> stackTrace) -
Method Summary
Modifier and TypeMethodDescriptionOptional annotations for the tool.Optional node ID for declarative tools.Tool description.Frame identifier associated with the tool registration.Schema for the tool's input parameters.getName()Tool name.The stack trace at the time of the registration.
-
Constructor Details
-
Tool
public Tool(String name, String description, Optional<Map<String, Object>> inputSchema, Optional<Annotation> annotations, FrameId frameId, Optional<BackendNodeId> backendNodeId, Optional<StackTrace> stackTrace)
-
-
Method Details
-
getName
Tool name. -
getDescription
Tool description. -
getInputSchema
Schema for the tool's input parameters. -
getAnnotations
Optional annotations for the tool. -
getFrameId
Frame identifier associated with the tool registration. -
getBackendNodeId
Optional node ID for declarative tools. -
getStackTrace
The stack trace at the time of the registration.
-