Skip to main content
Glama

write_file

Create or replace files with specified content in permitted directories, handling text encoding automatically. Use carefully as existing files are overwritten without warning.

Instructions

Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes

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/agentward-ai/agent-ward'

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