Generate Full Tree Documentation Tool
generate-full-tree-documentationUse this when the user has reviewed a full-tree preview and asks to create its documentation Space. After authorization, this state-changing action consumes AI credits, creates a private linked Space, and queues documentation from the stored preview using repository_id and accepted_tree_hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_name | No | Optional name for the new full-tree documentation Space. If omitted, the repository name is used. | |
| repository_id | Yes | Required numeric ID of the imported repository that already has a generated full-tree documentation preview. Do not pass a Space ID, repository slug, provider URL, or Autopilot repository-link ID. | |
| excluded_paths | No | Optional metadata listing known repository paths the user intentionally excluded during tree review. This is reported back for clarity and does not perform file deletion. | |
| accepted_tree_hash | Yes | Required SHA-256 tree_hash returned by get-full-tree-documentation-preview. Include it only after the user approved that exact stored preview; if it no longer matches, refresh preview before submitting. Do not send documentation_tree. |