Skip to content

Tool: python_stdin_runner

Description: Tool to execute Python code by passing it to the interpreter via standard input (stdin).

Argument Type Description
code str The Python code to execute as a string.
timeout int, optional Timeout in seconds for the command. Defaults to 60.
Returns str Output and status message, or file paths/line counts if output is large, or warning if code is empty.

Example usage: python_stdin_runner(code="print('Hello from stdin')", timeout=10)


generated by janito.dev