File size: 640 Bytes
531f682
81c81da
531f682
 
81c81da
531f682
 
1
2
3
4
5
6
7
8
{
  "description": "This tool executes Python code with given inputs. It takes a single input containing:Python code to execute.Followed by a line containing only '#inputs' (without quotes).Followed by input values, one per line, to be used when the code calls input().For example if there are 2 input funtion calls in the code with first taking 2 arguments and second taking 1:12 43\n94The tool returns the outputs(if multiple or else single) of the executed code as a string.",
  "inputs": "['text']",
  "name": "python_executor_with_test_inputs",
  "output_type": "['text']",
  "tool_class": "python_tool.PythonExecutorToolWithInputs"
}