You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: `Execute Python code in the ${ENV_CONFIG.type} environment`,
478
+
description: `Execute Python code in the ${ENV_CONFIG.type} environment. For short code snippets only. For longer code, use initialize_code_file and append_to_code_file instead.`,
description: "Create a new Python file with initial content. Use this as the first step for longer code that may exceed token limits. Follow with append_to_code_file for additional code.",
497
+
inputSchema: {
498
+
type: "object",
499
+
properties: {
500
+
content: {
501
+
type: "string",
502
+
description: "Initial content to write to the file"
503
+
},
504
+
filename: {
505
+
type: "string",
506
+
description: "Optional: Name of the file (default: generated UUID)"
507
+
}
508
+
},
509
+
required: ["content"]
510
+
}
511
+
},
512
+
{
513
+
name: "append_to_code_file",
514
+
description: "Append content to an existing Python code file. Use this to add more code to a file created with initialize_code_file, allowing you to build up larger code bases in parts.",
515
+
inputSchema: {
516
+
type: "object",
517
+
properties: {
518
+
file_path: {
519
+
type: "string",
520
+
description: "Full path to the file"
521
+
},
522
+
content: {
523
+
type: "string",
524
+
description: "Content to append to the file"
525
+
}
526
+
},
527
+
required: ["file_path","content"]
528
+
}
529
+
},
530
+
{
531
+
name: "execute_code_file",
532
+
description: "Execute an existing Python file. Use this as the final step after building up code with initialize_code_file and append_to_code_file.",
533
+
inputSchema: {
534
+
type: "object",
535
+
properties: {
536
+
file_path: {
537
+
type: "string",
538
+
description: "Full path to the Python file to execute"
539
+
}
540
+
},
541
+
required: ["file_path"]
542
+
}
543
+
},
544
+
{
545
+
name: "read_code_file",
546
+
description: "Read the content of an existing Python code file. Use this to verify the current state of a file before appending more content or executing it.",
547
+
inputSchema: {
548
+
type: "object",
549
+
properties: {
550
+
file_path: {
551
+
type: "string",
552
+
description: "Full path to the file to read"
553
+
}
554
+
},
555
+
required: ["file_path"]
556
+
}
557
+
},
350
558
{
351
559
name: "install_dependencies",
352
560
description: `Install Python dependencies in the ${ENV_CONFIG.type} environment`,
0 commit comments