Skip to content

Commit 23b7efa

Browse files
jor2Jordan-Williams2
andauthored
fix: list_content tool calling error (#45)
* fix: list_content tool calling error * fix: make sentence clearer --------- Co-authored-by: Jordan-Williams2 <[email protected]>
1 parent de3b87a commit 23b7efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ A **module** is a Terraform module published to the Terraform Registry at the re
4545
A **submodule** is a nested module within a repository's `modules/` directory.
4646

4747
- **Path**: `modules/submodule-name` (e.g., `modules/cbr-rule-module`)
48-
- **Use with**: `list_content` and `get_content` `path` parameter
48+
- **Discovery**: Use `list_content(module_id)` to find available submodule paths
49+
- **Access**: Use `get_content(module_id, path="modules/submodule-name")` to retrieve content
4950
- **Terraform usage**:
5051
```terraform
5152
module "cbr_rule" {

0 commit comments

Comments
 (0)