create_or_update_index
Create or update the index contract file that defines how agents interpret project sources. Use to set up source mappings or merge new configurations for structured query responses.
Instructions
Creates or updates the index.md file in .project/ directory. This is the contract file that defines how agents should interpret sources. Use this when setting up project structure or updating source mappings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The contract content to add. Should define source mappings and how agents should interpret different queries. | |
| replace | No | If true, replaces the entire file. If false (default), merges with existing content. |