MCPcopy Create free account
hub / github.com/astercloud/aster / Write

Function Write

client-sdks/python-bridge/aster.py:238–246  ·  view source on GitHub ↗

写入文件内容 Args: path: 文件路径 content: 要写入的内容

(path: str, content: str)

Source from the content-addressed store, hash-verified

236
237
238async def Write(path: str, content: str) -> None:
239 """
240 写入文件内容
241
242 Args:
243 path: 文件路径
244 content: 要写入的内容
245 """
246 await _bridge.call_tool("Write", path=path, content=content)
247
248
249async def Glob(pattern: str, path: str = ".") -> list:

Callers

nothing calls this directly

Calls 1

call_toolMethod · 0.80

Tested by

no test coverage detected