Skip to main content
Glama

send_input

Send commands to interactive terminal sessions and wait for output to settle, enabling AI agents to execute tasks in shells, SSH, or serial connections with persistent session management.

Instructions

Send a command and wait for output to settle. Returns is_complete (false = timeout, use read_output for remaining output)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
session_idYes
timeout_msNoMax wait time in ms (default: 5000, max: 30000)

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/raychao-oao/pty-mcp'

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