mammoth snippet
GENERATED from
mammoth schema listandmammoth capability list(mammoth-cli 2.4.0, released 2026-10-29)—do not edit; runnpm run docs:capabilities.
8 commands.
"Off a terminal" is what a command's confirmation policy requires when nothing can answer a prompt, as in an agent or CI run: --yes, plus --confirm with the exact target for confirm_target commands. TARGET stands for the id or name the command acts on; the CLI's confirmation_required error names it.
The SDK symbol and API operation come from mammoth capability list. A command that list does not map to one shows — in both columns; mammoth schema get <command.id> describes any command in full.
| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
mammoth snippet delete | project | Destructive | prompt_or_yes | --yes | not_async | none | mammoth.api.snippets.SnippetsAPI.delete | DELETE /workspaces/{workspace_id}/snippets/{snippet_id} (DeleteSnippet) |
mammoth snippet create | project | Benign mutation | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.create | POST /workspaces/{workspace_id}/snippets (CreateSnippet) |
mammoth snippet duplicate | project | Benign mutation | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.duplicate | POST /workspaces/{workspace_id}/snippets/{snippet_id}/duplicate (DuplicateSnippet) |
mammoth snippet rerun | project | Benign mutation | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.rerun | POST /workspaces/{workspace_id}/snippets/{snippet_id}/rerun (RerunSnippet) |
mammoth snippet update | project | Benign mutation | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.update | PATCH /workspaces/{workspace_id}/snippets/{snippet_id} (UpdateSnippet) |
mammoth snippet dependencies | project | Read | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.dependencies | GET /workspaces/{workspace_id}/snippets/{snippet_id}/dependencies (GetSnippetDependencies) |
mammoth snippet get | project | Read | none | — | not_async | none | mammoth.api.snippets.SnippetsAPI.get | GET /workspaces/{workspace_id}/snippets/{snippet_id} (GetSnippetDetail) |
mammoth snippet list | project | Read | none | — | not_async | single_page | mammoth.api.snippets.SnippetsAPI.list | GET /workspaces/{workspace_id}/snippets (ListSnippets) |