tool-schemas.expected.json 1.0 KB

1234567891011121314151617181920212223242526
  1. {
  2. "initial": [
  3. {
  4. "name": "run_code",
  5. "description": "Execute a TypeScript program against the available tools. Write the BODY of an async function (erasable syntax only; top-level `await` and `return` work) and call tools as `await tools.name(args)` per the declarations in the system prompt. Only what you print or return comes back — curate it.",
  6. "parameters": {
  7. "type": "object",
  8. "properties": {
  9. "code": {
  10. "type": "string",
  11. "description": "The program: the body of an async TypeScript function."
  12. },
  13. "description": {
  14. "type": "string",
  15. "description": "Clear, concise description of what this program does in active voice, 5-10 words (shown in the UI). Examples: \"Count TODO markers across packages\"; \"Read failing test and its fixture\"; \"Rename config key in every cordis.yml\"."
  16. }
  17. },
  18. "required": [
  19. "code",
  20. "description"
  21. ]
  22. }
  23. }
  24. ],
  25. "changes": []
  26. }