delete_file

A tool of the Sprintree MCP server. All MCP docs · Back to the tool list

added 2026-09-30can overwrite data

Permanently delete an uploaded file (an attachment or an image in a description) by its id, the uuid in its /api/files/<id> URL. Only the uploader or the project owner can. Links to it break. Cannot be undone.

  • idstringrequired
    File id (uuid from the /api/files/<id> URL)

Returns

  • idstringrequired
  • 2026-10-03 — Also answers structuredContent (see outputSchema); a failed call adds structuredContent.error. Text unchanged. Details: /docs/mcp, "Structured results and errors".
  • 2026-10-04 — Claude Code 2.1.288+ (clientInfo claude-code): the text of a successful answer is itself up to 512 bytes, else "Result in structuredContent (N bytes)."; structuredContent and errors are unchanged. See /docs/mcp.