Skip to main content
Glama
MoveCommand+CommanderMetadata.swift2.21 kB
import Commander extension MoveCommand: CommanderSignatureProviding { static func commanderSignature() -> CommandSignature { CommandSignature( arguments: [ .make( label: "coordinates", help: "Coordinates as x,y", isOptional: true ), ], options: [ .commandOption( "coords", help: "Coordinates as x,y (alias for positional argument)", long: "coords" ), .commandOption( "to", help: "Move to element by text/label", long: "to" ), .commandOption( "id", help: "Move to element by ID", long: "id" ), .commandOption( "duration", help: "Movement duration in milliseconds", long: "duration" ), .commandOption( "steps", help: "Number of steps for smooth movement", long: "steps" ), .commandOption( "profile", help: "Movement profile (linear or human)", long: "profile" ), .commandOption( "snapshot", help: "Snapshot ID for element resolution", long: "snapshot" ), ], flags: [ .commandFlag( "center", help: "Move to screen center", long: "center" ), .commandFlag( "smooth", help: "Use smooth movement animation", long: "smooth" ), ], optionGroups: [ InteractionTargetOptions.commanderSignature(), FocusCommandOptions.commanderSignature(), ] ) } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server