mcp
M
mcp
/drive_write_file

drive write file

Write/overwrite one file in a drive (ETag-safe: pass ifMatch to assert the version you read, otherwise the current version is used automatically).

liveunknown~5s typical
mcpmcp
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-dataecho-mcp /drive_write_file for me.

Input

FieldTypeDescription
drive*stringDrive name or drv_… id
path*stringDestination path in the drive
contentstringUTF-8 text content
contentBase64stringBase64 content for binary files
contentTypestringOptional MIME type
ifMatchstringOptional ETag precondition

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-dataecho-mcp","endpoint":"/drive_write_file","input":{"drive":"...","path":"..."}}'
cli
npx cracked-ai run -p mcp-ai-dataecho-mcp -e /drive_write_file -i '{"drive":"...","path":"..."}'
mcp
run_tool({ provider: "mcp-ai-dataecho-mcp", endpoint: "/drive_write_file", input: {"drive":"...","path":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.