Skip to main content
Glama

sandbox_validate

Validate syntax of file edits before applying them. Pass the file path and new content for a dry-run check, then proceed with the edit transaction.

Instructions

Pre-validate edits: pass file + new_content (full new text), dry-run syntax check. Then edit_transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesTarget file path (relative to workspace_dir)
new_contentYesFull file content after edits (or the edited section)
workspace_dirYesREQUIRED: project root (abs). reindex first if new.

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/wulun811/LiuHe'

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