Ray's Knowledge Base
Unlock

pi 1.0.0 codemode and tool fields; omp ignores the new fields

FactVerified 2 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.

Statement#

pi 1.0.0 codemode lets the model write one script that calls tools in a sandbox, and only the script's output enters the context. A pi tool that sets outputSchema returns structuredContent that a script reads as JSON, so the script can filter the results. The tool's text content is what the model sees otherwise. pi also accepts namespace, annotations (readOnlyHint, destructiveHint), promptSnippet and promptGuidelines on a tool. omp 18.x loaded the same extension and ignored the new fields. An MCP server that declares outputSchema forces its tools to return structured results, so rkb's rkb mcp leaves the schemas out.

Evidence#

Tested with pi 1.0.0 and omp 18.x on the same extension.

Also found by searching

  • pi 1.0.0 codemode lets the model write one script that calls tools
  • outputSchema returns structuredContent a script reads as JSON
  • pi tool namespace annotations readOnlyHint promptSnippet
  • omp ignores the new tool fields