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
{{ message }}
Repository navigation
GPT-5: AI_InvalidToolInputError: Invalid input for tool read: Type validation failed. #1695
i am getting the same issues when trying to run gpt-oss:20b locally via ollama.
conversation:
create a file named test.txt in my current directory
dawsonb (01:41 PM)
We need to create a file named test.txt in current directory.
Build gpt-oss:20b (01:41 PM)
Write
The arguments provided to the tool are invalid: Invalid input for tool write: Type
validation failed: Value: {"content":"This is a test file.","path":"test.txt"}.
Error message: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"filePath"
],
"message": "Required"
Plan
[]
Sure thing—just let me know what you’d like me to work on next!
Build gpt-oss:20b (01:41 PM)
Not sure what the issue is, it seems to fail on all tool calls I have tried. Would love some guidance! :)
Activity
pegasora commentedon Aug 12, 2025
👍 +1
i am getting the same issues when trying to run gpt-oss:20b locally via ollama.
conversation:
create a file named test.txt in my current directory
dawsonb (01:41 PM)
We need to create a file named test.txt in current directory.
Build gpt-oss:20b (01:41 PM)
Write
The arguments provided to the tool are invalid: Invalid input for tool write: Type
validation failed: Value: {"content":"This is a test file.","path":"test.txt"}.
Error message: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"filePath"
],
"message": "Required"
Plan
[]
Sure thing—just let me know what you’d like me to work on next!
Build gpt-oss:20b (01:41 PM)
Not sure what the issue is, it seems to fail on all tool calls I have tried. Would love some guidance! :)
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!