@nexface/tools 0.1.15-alpha.5 → 0.1.15-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@ import { createAgentToolDefinition } from "./definition.js";
|
|
|
3
3
|
export const getSnapshotTool = createAgentToolDefinition({
|
|
4
4
|
name: "nxf_getSnapshot",
|
|
5
5
|
effect: "read",
|
|
6
|
-
description: "
|
|
6
|
+
description: "When the needed information or requested action is unavailable through application tools, observe the current viewport or full rendered page to read page content and identify available actions.",
|
|
7
7
|
inputSchema: {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
|
@@ -15,7 +15,7 @@ export const getSnapshotTool = createAgentToolDefinition({
|
|
|
15
15
|
});
|
|
16
16
|
export const executeActionTool = createAgentToolDefinition({
|
|
17
17
|
name: "nxf_executeAction",
|
|
18
|
-
description: '
|
|
18
|
+
description: 'When application tools do not cover the requested page action, execute async JavaScript through the host-provided restricted "ui" API. A current valid snapshot is required; if missing or expired, call nxf_getSnapshot in a separate model step first.',
|
|
19
19
|
inputSchema: {
|
|
20
20
|
type: "object",
|
|
21
21
|
properties: {
|