actors:
  test_actor:
    type: tool
    config:
      tools:
        - name: test_tool
          code: |
            import sys
            print("This is debug output to stderr", file=sys.stderr)
            result = "Tool executed successfully"

routes:
  main:
    type: stream
    stream_type: cold
    operators:
      - type: map
        params:
          actor: test_actor
    publications:
      - __output__

merges:
  - sources: [__input__]
    target: main
