import { z } from 'zod';
import { defineTool, } from '../toolDefinition.js';
import { STEP_INDEX_DESCRIPTION } from './shared/stepIndexDescription.js';
import { refreshedStepsResponseFields } from './shared/refreshedStepsResponseFields.js';
export const executeMoveCursorArgumentsSchema = z.object({
    target_position: z
        .string()
        .describe(`${STEP_INDEX_DESCRIPTION} Position to move the cursor to. The cursor determines where new steps are inserted.`),
});
export const executeMoveCursorResponseSchema = z.object({
    success: z.boolean(),
    message: z.string().optional(),
    ...refreshedStepsResponseFields,
});
export const ExecuteMoveCursorToolDefinition = defineTool({
    name: 'execute_move_cursor',
    description: 'Moves the cursor to a specific position in the test using 1-based dot-notation. "3" moves to root step 3, "2.1" moves inside task group 2 to step 1. The cursor determines where new steps are inserted. The refreshed step list with the new cursor position is returned in this tool\'s output (updated_test_steps).',
    argumentsSchema: executeMoveCursorArgumentsSchema,
    responseSchema: executeMoveCursorResponseSchema,
});
//# sourceMappingURL=ExecuteMoveCursorDefinition.js.map