tool-schemas.expected.json 1.1 KB

1234567891011121314151617181920212223242526
  1. {
  2. "initial": [
  3. {
  4. "name": "run_code",
  5. "description": "Execute a Python program against the available tools. Takes two required arguments: `code`, the BODY of an async function (top-level `await` and `return` work), and `description`, a short summary of what the program does. Call tools as `await tools.name(args)` per the declarations in the system prompt. Use `print(...)` and/or `return <value>` for program output — curate it. Image-bearing subtool results are attached after the run.",
  6. "parameters": {
  7. "type": "object",
  8. "properties": {
  9. "code": {
  10. "type": "string",
  11. "description": "The program: the body of an async Python 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. }