Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TracecatHQ/tracecat
/ functions
Functions
13,198 in github.com/TracecatHQ/tracecat
⨍
Functions
13,198
◇
Types & classes
2,545
↳
Endpoints
665
↓ 973 callers
Method
get
Get a Redis key value.
tracecat/redis/client.py:502
↓ 793 callers
Method
get
(self, provider: str)
tracecat/agent/llm_proxy/providers.py:34
↓ 767 callers
Method
execute
(self, _stmt)
tests/unit/test_mcp_auth.py:1119
↓ 756 callers
Method
append
Stream a message to a Redis stream.
tracecat/agent/stream/connector.py:53
↓ 726 callers
Method
error
Emit an error marker.
tracecat/agent/stream/connector.py:62
↓ 668 callers
Function
cn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:5
↓ 582 callers
Method
info
(self, message: str, **fields: Any)
tracecat/dsl/workflow_logging.py:90
↓ 556 callers
Method
commit
(self)
tests/unit/test_mcp_server.py:1770
↓ 521 callers
Function
toast
({ ...props }: Toast)
frontend/src/components/ui/use-toast.ts:140
↓ 502 callers
Method
get
(self, url: str, headers: dict[str, str])
tests/unit/test_mcp_auth.py:605
↓ 448 callers
Method
add
(self, obj)
tests/unit/test_mcp_server.py:1767
↓ 425 callers
Method
execute
Execute a Python script inside the nsjail sandbox. Args: job_dir: Directory containing the job files (script.py, inputs.json, wra
tracecat/sandbox/executor.py:381
↓ 395 callers
Method
debug
(self, message: str, **fields: Any)
tracecat/dsl/workflow_logging.py:87
↓ 386 callers
Method
warning
(self, message: str, **fields: Any)
tracecat/dsl/workflow_logging.py:93
↓ 354 callers
Method
text
(self)
tests/unit/test_tracecat_llm_proxy_anthropic_family.py:89
↓ 303 callers
Function
cast
(x: Any, typename: str)
tracecat/expressions/functions.py:1295
↓ 271 callers
Method
add
Record a validation result.
tracecat/expressions/validator/base.py:45
↓ 255 callers
Method
json
(self)
tests/unit/test_mcp_auth.py:595
↓ 251 callers
Method
flush
(self)
tracecat/executor/minimal_runner.py:92
↓ 245 callers
Function
set
Set a secret in the current context.
tracecat/secrets/secrets_manager.py:40
↓ 235 callers
Method
refresh
(self, _obj)
tests/unit/test_mcp_server.py:1773
↓ 211 callers
Method
scalars
(self)
tests/unit/test_mcp_auth.py:1109
↓ 209 callers
Method
decode
Decode payloads, decompressing those that were compressed.
tracecat/dsl/compression.py:130
↓ 204 callers
Method
new
Create a stream ID for an inherited scatter item. Args: scope: The scope name for the stream. index: The index or ski
tracecat/dsl/schemas.py:455
↓ 198 callers
Method
all
(self)
tests/unit/test_mcp_auth.py:1096
↓ 194 callers
Method
model_dump
(self, *args: Any, **kwargs: Any)
tracecat/dsl/common.py:168
↓ 189 callers
Method
get
Make a GET request.
packages/tracecat-registry/tracecat_registry/sdk/client.py:228
↓ 181 callers
Method
scalar_one_or_none
(self)
tests/unit/test_watchtower_service.py:46
↓ 161 callers
Method
append
(self, event: Any)
tests/temporal/test_durable_agent_workflow.py:530
↓ 157 callers
Method
trace
(self, message: str, **fields: Any)
tracecat/dsl/workflow_logging.py:84
↓ 156 callers
Method
post
Make a POST request.
packages/tracecat-registry/tracecat_registry/sdk/client.py:237
↓ 142 callers
Method
push
Commit and push objects to a repository/branch. Args: objects: Domain models to serialize and write. url: Repository
tracecat/sync.py:203
↓ 134 callers
Method
set
Set a Redis key with an optional TTL.
tracecat/redis/client.py:460
↓ 123 callers
Method
with_session
Create an AuditService instance with a database session. Override BaseService.with_session to accept optional role parameter. Accepts
tracecat/audit/service.py:44
↓ 118 callers
Function
useWorkspaceId
()
frontend/src/providers/workspace-id.tsx:20
↓ 117 callers
Method
reset
(cls)
tests/unit/test_redis_client.py:66
↓ 113 callers
Method
keys
(self)
tracecat/registry/repository.py:255
↓ 112 callers
Method
scalar_one
(self)
tests/unit/test_saml_client_config.py:89
↓ 108 callers
Method
encode
Encode payloads, compressing those that exceed the threshold.
tracecat/dsl/compression.py:56
↓ 105 callers
Function
test_worker_factory
Factory fixture to create workers with proper ThreadPoolExecutor cleanup.
tests/conftest.py:1668
↓ 105 callers
Method
validate_python
(self, obj: Any)
tracecat/agent/types.py:69
↓ 102 callers
Method
set
(self, key: str, value: bytes, ex: int | None = None)
tests/unit/test_mcp_server.py:81
↓ 100 callers
Method
short
Convert the UUID to a shortened, prefixed string representation. Returns: ShortIDType: The shortened ID string with prefix
tracecat/identifiers/common.py:97
↓ 99 callers
Method
create_table
(self, params: TableCreate)
tracecat/tables/service.py:1674
↓ 98 callers
Method
delete
Delete a Redis key.
tracecat/redis/client.py:520
↓ 97 callers
Function
is_set
Type guard that narrows T | Unset to T. Use this to get proper type narrowing when checking if a value was provided. Uses both isinstance()
packages/tracecat-registry/tracecat_registry/sdk/types.py:50
↓ 96 callers
Function
generate_test_exec_id
(name: str)
tests/shared.py:38
↓ 96 callers
Method
model_dump
(self, *, mode: str = "json")
tests/unit/test_mcp_server.py:3187
↓ 95 callers
Method
exists
Check if a Redis key exists.
tracecat/redis/client.py:486
↓ 95 callers
Method
patch
Make a PATCH request.
packages/tracecat-registry/tracecat_registry/sdk/client.py:257
↓ 93 callers
Method
get
Retrieve a registered udf.
tracecat/registry/repository.py:258
↓ 90 callers
Method
execute
Execute a workflow by ID or alias. Args: workflow_id: Workflow UUID (short or full format). workflow_alias: Workflow
packages/tracecat-registry/tracecat_registry/sdk/workflows.py:54
↓ 85 callers
Method
update
Update a user with user privileges.
tracecat/auth/users.py:88
↓ 83 callers
Method
parse
(self, expression: str)
tracecat/expressions/parser/core.py:13
↓ 82 callers
Method
get_secret_value
(self, *, SecretId: str)
tests/unit/test_db_engine.py:24
↓ 82 callers
Function
onOpenChange
()
frontend/src/components/tables/table-view-column-menu.tsx:46
↓ 81 callers
Function
_tool
Cast a FastMCP-decorated tool back to a callable for test invocation. ``@mcp.tool()`` is typed as returning ``FunctionTool`` (not callable),
tests/unit/test_mcp_server.py:44
↓ 77 callers
Method
first
(self)
tests/unit/test_saml_client_config.py:78
↓ 76 callers
Function
_json
Serialize to JSON string.
tracecat/mcp/server.py:2395
↓ 71 callers
Method
get
(self, key: str)
tracecat/storage/utils.py:37
↓ 68 callers
Function
onChange
()
frontend/src/hooks/use-mobile.tsx:10
↓ 66 callers
Function
get_context
Get the current registry context. Returns: The current RegistryContext. Raises: RuntimeError: If no context is set.
packages/tracecat-registry/tracecat_registry/context.py:147
↓ 66 callers
Function
useScopeCheck
( scope?: string, scopes?: string[], options?: { all?: boolean } )
frontend/src/components/auth/scope-guard.tsx:113
↓ 65 callers
Method
wait
(self)
tests/unit/test_unsafe_pid_executor.py:72
↓ 64 callers
Function
_resolve_workspace_role
Resolve workspace UUID + role from current token.
tracecat/mcp/server.py:246
↓ 64 callers
Function
create_case
Create a new case.
tracecat/cases/router.py:523
↓ 64 callers
Function
test_executor_worker_factory
Factory fixture to create executor workers with TestBackend. This worker listens on the shared-action-queue and handles execute_action_activity.
tests/conftest.py:1695
↓ 63 callers
Method
create_case
(index: int)
tests/unit/test_cases_service.py:360
↓ 63 callers
Method
execute_workflow
(self, input: ExecuteWorkflowInput)
tracecat/dsl/interceptor.py:68
↓ 63 callers
Method
with_session
Create a service instance with a database session. Args: session: Optional existing session. If provided, caller is responsible
tracecat/service.py:94
↓ 62 callers
Function
print_error
Print an error message to stderr.
packages/tracecat-admin/tracecat_admin/output.py:52
↓ 61 callers
Method
raise_for_status
(self)
tests/unit/test_mcp_auth.py:592
↓ 58 callers
Method
entries
(self)
packages/tracecat-registry/tracecat_registry/integrations/ldap3.py:36
↓ 58 callers
Method
new_uuid4
(cls)
tracecat/identifiers/common.py:135
↓ 57 callers
Function
make_stream_event
Create a StreamEvent with the given raw event dict.
tests/unit/test_claude_adapter.py:31
↓ 57 callers
Function
to_data
(obj: StoredObject)
tests/shared.py:77
↓ 55 callers
Function
_payload
Normalize tool output into plain Python data for assertions.
tests/unit/test_mcp_server.py:53
↓ 54 callers
Method
connect
Initialize and connect to the service.
tracecat/workflow/executions/service.py:195
↓ 54 callers
Method
delete
(self, *keys: str)
tests/unit/test_tier_limits_cache.py:26
↓ 49 callers
Method
get
Get the current agent state from context.
packages/tracecat-ee/tracecat_ee/agent/context.py:18
↓ 47 callers
Method
prepare_request
( self, request: NormalizedMessagesRequest, credentials: dict[str, str],
tests/unit/test_tracecat_llm_proxy.py:1504
↓ 45 callers
Method
validate_args
Validate the input arguments for a Bound registry action. Checks: 1. The Bound registry action must be called with keyword arguments
tracecat/registry/actions/bound.py:123
↓ 44 callers
Method
get_or_default
Get a specific key's value from a workspace variable, or return a default. Args: name: The variable name (e.g., "api_config").
packages/tracecat-registry/tracecat_registry/sdk/variables.py:51
↓ 44 callers
Method
result
Evaluate the expression and return the result.
tracecat/expressions/core.py:62
↓ 42 callers
Method
create_comment
Create a new comment on a case. Args: case: The case to comment on params: The comment parameters Returns:
tracecat/cases/service.py:1867
↓ 42 callers
Method
get_case
Get a case with its associated custom fields. Args: case_id: UUID of the case to retrieve track_view: Whether to reco
tracecat/cases/service.py:763
↓ 41 callers
Function
RoleACL
Factory for FastAPI dependency that enforces role-based access control. This function creates a dependency for authenticating and authorizin
tracecat/auth/credentials.py:748
↓ 41 callers
Method
insert_row
(self, table: Table, params: TableRowInsert)
tracecat/tables/service.py:1822
↓ 41 callers
Method
store_integration
Store or update a user's integration.
tracecat/integrations/service.py:359
↓ 39 callers
Method
create_mcp_integration
Create a new MCP integration.
tracecat/integrations/service.py:1131
↓ 39 callers
Function
create_mock_history_event
Create a mock Temporal history event.
tests/unit/test_workflow_executions.py:108
↓ 39 callers
Function
get_async_session_context_manager
Get a context manager for an async SQLAlchemy database session with RLS context.
tracecat/db/engine.py:256
↓ 38 callers
Method
create_task
(self, coro)
tests/unit/test_validation_service_environment_override.py:487
↓ 38 callers
Method
dispatch
Process the request and apply rate limiting. Args: request: The FastAPI request call_next: The next middlewa
tracecat/middleware/rate_limit.py:133
↓ 37 callers
Method
count
Number of iterations in this batch.
tracecat/dsl/common.py:989
↓ 37 callers
Function
create_default_execution_context
( ACTIONS: dict[str, TaskResult] | None = None, TRIGGER: StoredObject | None = None, ENV: DSLEnvir
tracecat/dsl/common.py:1297
↓ 37 callers
Method
create_table
(self, params)
tests/unit/test_mcp_server.py:3157
↓ 37 callers
Method
create_tag
(self, tag: TagCreate)
tracecat/tags/service.py:54
↓ 37 callers
Method
to_unified_event
Convert a harness-native stream event to unified format.
tracecat/agent/common/adapter_base.py:27
↓ 36 callers
Function
create_admin_role
Create an org admin role for testing (not a platform superuser).
tests/unit/test_organization_service.py:134
next →
1–100 of 13,198, ranked by callers