set_custom_return_statement
Add a custom return statement to a helper function, extending core return statements with user-defined guidance, context, or preferences. Delete the existing statement before setting a new one.
Instructions
Add a custom return statement for a helper function. Extends core return_statements with user-defined guidance, context, or preferences. To modify: delete first, then set new statement.
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": {
"helper_name": "<helper_name>",
"statement": "<statement>"
},
"name": "set_custom_return_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| helper_name | Yes | Helper function name (should match aimfp_core.db helper_functions.name) | |
| statement | Yes | Custom return statement text | |
| description | No | Why this was added (optional context) | |
| active | No | Whether statement is active (default true) |