Skip to main content
These examples assume an authenticated active saved profile with the intended organization and project. Confirm it with tp context show before running commands. Add root --json before the command when machine parsing needs JSON output; use root --profile <name> only to override the active profile.

Check context and discover resources

Modules

Python SDK pattern for multi-step logic:

Flows

Use Code Flow for arbitrary Python backend logic and graph Flow for inspectable orchestration.

API fallback

Discover before calling raw routes:

Event integration

Verification checklist

  • Read schemas/tool definitions before payload creation.
  • Check that sample inputs and outputs match the expected structure.
  • Run one controlled invocation.
  • Inspect Flow run, hook delivery, webhook delivery, or Module result.
  • Record exact payload file and resource IDs for repeatability.