get_config
Retrieve the current configuration settings from the ~/.prompte/config.json file to access prompt enhancement preferences and optimization parameters.
Instructions
Read the current ~/.prompte/config.json
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- bin/prompte-mcp.js:211-213 (handler)The 'get_config' tool handler inside the MCP server's dispatch function.
case 'get_config': { return getConfig(); } - src/config/profile.js:43-46 (helper)The core implementation that reads and returns the configuration JSON.
export function getConfig() { const stored = readJSON(CONFIG_FILE); return { ...DEFAULT_CONFIG, ...stored }; }