Clone
clone
GitCloneTool — clone a remote or local git repository.
GitCloneTool
Bases: AXMTool
Clone a git repository into a local directory.
Registered as git_clone via axm.tools entry point.
Source code in packages/axm-git/src/axm_git/tools/clone.py
name
property
Tool name used for MCP registration.
execute(*, url, dest, path='.', **kwargs)
Clone url into dest relative to path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
url
|
str
|
Repository URL or local path to clone from. |
required |
dest
|
str
|
Destination directory name (relative to path). |
required |
path
|
str
|
Parent directory in which to create the clone (default: current working directory). |
'.'
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with url, dest, absolute clone path, and |
ToolResult
|
|