write_readme_file
Creates a README.md file in a specified module directory with provided content, returning success status or error details.
Instructions
Writes a README.md file for the module directory. This tool is intended for AI to generate the README content for the module.
Args: module_path (str): Path to the module directory. content (str): Content to write to README.md.
Returns: str: JSON string with success status, message, instructions, and optional error/data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"module_path": "<module_path>",
"content": "<content>"
},
"name": "write_readme_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_path | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |