blob: 51903b84c79023b2ad8c77b5cee19e2081e8c5d6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>OK</title>
</head>
<body>
<script>
async function echo(obj) {
return obj.text;
}
const automationDelegate = window.automationDelegate;
automationDelegate.registerTool({
execute: echo,
name: "echo",
description: "echo input",
inputSchema: {
type: "object",
properties: {
"text": {
description: "Value to echo",
type: "string",
}
},
required: ["text"]
},
annotations: {
readOnlyHint: "true"
},
});
</script>
</body>
</html>