How to write Starlark programs for Twisp tools: reading input, calling GraphQL with variables, exact money and decimal math, calling other tools, fail and check=False, stable identifiers, output schemas, common mistakes, and how to test with validateAction, @dryRun, and MCP previews.
