LangGraph Integration API
Tool wrappers for LangGraph agents (TypeScript and Python).
TypeScript
createShadowExecutorTool
function createShadowExecutorTool(
config: ShadowExecutorToolConfig
): StructuredTool
Create protected LangGraph tool.
Python
create_shadow_executor_tool
def create_shadow_executor_tool(
name: str,
func: Callable,
policy_path: str,
log_secret: str,
...
) -> BaseTool
Create protected LangGraph tool (Python).
Source
Implementation: packages/sdk/src/langgraph/typescript.ts, packages/sdk/src/langgraph/python.py