Skip to main content
Glama
ScrollCommand+CommanderMetadata.swift1.52 kB
import Commander extension ScrollCommand: CommanderSignatureProviding { static func commanderSignature() -> CommandSignature { CommandSignature( options: [ .commandOption( "direction", help: "Scroll direction: up, down, left, or right", long: "direction" ), .commandOption( "amount", help: "Number of scroll ticks", long: "amount" ), .commandOption( "on", help: "Element ID to scroll on (from 'see' command)", long: "on" ), .commandOption( "snapshot", help: "Snapshot ID (uses latest if not specified)", long: "snapshot" ), .commandOption( "delay", help: "Delay between scroll ticks in milliseconds", long: "delay" ), ], flags: [ .commandFlag( "smooth", help: "Use smooth scrolling with smaller increments", 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