Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/gpt-oss
/ run_python_tool
Method
run_python_tool
gpt_oss/responses_api/api_server.py:1031–1035 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1029
)
1030
1031
async
def
run_python_tool():
1032
results = []
1033
async
for
msg in self.python_tool.process(last_message):
1034
results.append(msg)
1035
return
results
1036
1037
result = await run_python_tool()
1038
Callers
nothing calls this directly
Calls
1
process
Method · 0.80
Tested by
no test coverage detected