Skip to content

Commit a3186f4

Browse files
committed
update tool names
1 parent 602ddad commit a3186f4

20 files changed

+253
-596
lines changed

apps/docs/content/docs/en/tools/hex.mdx

Lines changed: 205 additions & 557 deletions
Large diffs are not rendered by default.

apps/sim/blocks/blocks/hex.ts

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,8 @@ Example:
109109
{
110110
id: 'projectStatus',
111111
title: 'Status',
112-
type: 'dropdown',
113-
options: [
114-
{ label: 'Active', id: 'ACTIVE' },
115-
{ label: 'Archived', id: 'ARCHIVED' },
116-
],
117-
value: () => 'ACTIVE',
112+
type: 'short-input',
113+
placeholder: 'Enter status name (e.g., custom workspace status label)',
118114
condition: { field: 'operation', value: 'update_project' },
119115
required: { field: 'operation', value: 'update_project' },
120116
},
@@ -344,11 +340,23 @@ Example:
344340
projectId: { type: 'string', description: 'Project UUID' },
345341
runId: { type: 'string', description: 'Run UUID' },
346342
inputParams: { type: 'json', description: 'Input parameters for project run' },
347-
dryRun: { type: 'boolean', description: 'Validate without executing' },
348-
updateCache: { type: 'boolean', description: 'Update cached results' },
349-
updatePublishedResults: { type: 'boolean', description: 'Update published app results' },
350-
useCachedSqlResults: { type: 'boolean', description: 'Use cached SQL results' },
351-
projectStatus: { type: 'string', description: 'New project status' },
343+
dryRun: { type: 'boolean', description: 'Perform a dry run without executing the project' },
344+
updateCache: {
345+
type: 'boolean',
346+
description: '(Deprecated) Update cached results after execution',
347+
},
348+
updatePublishedResults: {
349+
type: 'boolean',
350+
description: 'Update published app results after execution',
351+
},
352+
useCachedSqlResults: {
353+
type: 'boolean',
354+
description: 'Use cached SQL results instead of re-running queries',
355+
},
356+
projectStatus: {
357+
type: 'string',
358+
description: 'New project status name (custom workspace status label)',
359+
},
352360
limit: { type: 'number', description: 'Max number of results to return' },
353361
offset: { type: 'number', description: 'Offset for paginated results' },
354362
includeArchived: { type: 'boolean', description: 'Include archived projects' },
@@ -376,7 +384,7 @@ Example:
376384
},
377385
startTime: { type: 'string', description: 'Run start time' },
378386
endTime: { type: 'string', description: 'Run end time' },
379-
elapsedTime: { type: 'number', description: 'Elapsed time in milliseconds' },
387+
elapsedTime: { type: 'number', description: 'Elapsed time in seconds' },
380388
traceId: { type: 'string', description: 'Trace ID for debugging' },
381389
// Project outputs
382390
id: { type: 'string', description: 'Resource ID' },
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const getProjectRunsTool: ToolConfig<HexGetProjectRunsParams, HexGetProje
55
id: 'hex_get_project_runs',
66
name: 'Hex Get Project Runs',
77
description:
8-
'Retrieve the run history for a Hex project with optional filtering by status and pagination.',
8+
'Retrieve API-triggered runs for a Hex project with optional filtering by status and pagination.',
99
version: '1.0.0',
1010

1111
params: {
@@ -99,7 +99,7 @@ export const getProjectRunsTool: ToolConfig<HexGetProjectRunsParams, HexGetProje
9999
},
100100
startTime: { type: 'string', description: 'Run start time', optional: true },
101101
endTime: { type: 'string', description: 'Run end time', optional: true },
102-
elapsedTime: { type: 'number', description: 'Elapsed time in ms', optional: true },
102+
elapsedTime: { type: 'number', description: 'Elapsed time in seconds', optional: true },
103103
traceId: { type: 'string', description: 'Trace ID', optional: true },
104104
projectVersion: {
105105
type: 'number',

0 commit comments

Comments
 (0)