create_statement
Create an empty statement in a file or method as the first step to add code. Complete the process by calling add_statement_code.
Instructions
Create empty statement (step 1 of 2). Call add_statement_code next. Prefer create_statement_with_code for single call.
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": "create_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | UUID of the file to add the statement to | |
| method | No | UUID of the method to add the statement to (for method body statements) |