MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / delete_file

Function delete_file

examples/tools_runner_deferred_streaming.py:17–23  ·  view source on GitHub ↗

Delete a file. Args: path: The file to delete.

(path: str)

Source from the content-addressed store, hash-verified

15
16@beta_tool
17def delete_file(path: str) -> str:
18 """Delete a file.
19
20 Args:
21 path: The file to delete.
22 """
23 return f"Deleted {path}."
24
25
26def main() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected