MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 4 callersFunctionparse_tools
Parse tools to be used for the task. Args: tools: List of tools to parse. Returns: List of structured tools. Raises:
lib/crewai/src/crewai/utilities/agent_utils.py:183
↓ 4 callersMethodplot
Create interactive HTML visualization of Flow structure. Args: filename: Output HTML filename (default: "crewai_flow.html").
lib/crewai/src/crewai/flow/runtime/__init__.py:4024
↓ 4 callersFunctionpop_event_scope
Pop an event entry from the scope stack.
lib/crewai/src/crewai/events/event_context.py:185
↓ 4 callersMethodproject_created_span
Records that the CLI scaffolded a new project. Acquisition was previously only observable from a project's first *run*, which misses
lib/crewai-core/src/crewai_core/telemetry.py:638
↓ 4 callersFunctionprompt_for_inputs
Prompt for each name and return ``{name: value}``. ``describe(name)`` returns an optional hint shown dim above the prompt (used by flows to s
lib/cli/src/crewai_cli/input_prompt.py:54
↓ 4 callersMethodprune
Remove old checkpoints, keeping at most *max_keep* per branch. Args: location: The storage destination passed to ``checkpoint``.
lib/crewai/src/crewai/state/provider/core.py:64
↓ 4 callersMethodpublish_update
Wait for parent acceptance before executing a dependent stage.
lib/crewai/src/crewai/experimental/flow_jobs.py:206
↓ 4 callersFunctionpython_flow_project
Write a Python flow project whose `kickoff` script lives in `main.py`, and run from it inside its env (as `uv run crewai run` would).
lib/cli/tests/test_run_crew.py:1418
↓ 4 callersMethodr_acquire
Acquire a read lock, blocking if a writer holds the lock.
lib/crewai/src/crewai/utilities/rw_lock.py:30
↓ 4 callersMethodr_release
Release a read lock and notify waiting writers if last reader.
lib/crewai/src/crewai/utilities/rw_lock.py:37
↓ 4 callersMethodread
(self)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:144
↓ 4 callersFunctionrecord
(method_name: str)
lib/crewai/tests/test_flow.py:1523
↓ 4 callersMethodrecord
(cls, tool_name: str, start: float, end: float)
lib/crewai/tests/agents/test_native_tool_calling.py:92
↓ 4 callersFunctionregister_cleanup
Register a cleanup callback on the streaming output. Ensures the event handler is unregistered even if aclose()/close() is called before iter
lib/crewai/src/crewai/utilities/streaming.py:400
↓ 4 callersFunctionreportable_failure
Return the failure to attach to ``ToolUsageFinishedEvent``. ``None`` under :attr:`ToolFailurePolicy.IGNORE`, so that policy really does surfa
lib/crewai/src/crewai/tools/tool_failure.py:307
↓ 4 callersMethodrequest_close
Close admission/publication before draining foreground execution.
lib/crewai/src/crewai/experimental/flow_jobs.py:393
↓ 4 callersMethodrequest_human_input
Request human input during tool hook execution. This method pauses live console updates, displays a prompt to the user, waits for the
lib/crewai/src/crewai/hooks/tool_hooks.py:86
↓ 4 callersMethodreset_runtime_state
Detach the RuntimeState and clear the entity registry.
lib/crewai/src/crewai/events/event_bus.py:313
↓ 4 callersFunctionresolve_tracing_credential
The credential tracing sends and where it came from, as ``(source, token)`` — read once, in the one order both functions above follow. A call
lib/crewai/src/crewai/telemetry/tracing/grants.py:133
↓ 4 callersMethodresume_async
Async version of resume. Resume flow execution, optionally with human feedback asynchronously. Args: feedback: The human
lib/crewai/src/crewai/flow/runtime/__init__.py:1402
↓ 4 callersFunctionrewrite_sheet
The workbook with its first sheet's XML passed through ``change``.
lib/crewai-files/tests/spreadsheets/test_reading.py:44
↓ 4 callersFunctionrun
()
lib/crewai/tests/agents/test_agent_spreadsheets.py:448
↓ 4 callersMethodrun
(self)
lib/cli/tests/deploy/test_deploy_main.py:100
↓ 4 callersFunctionrun_awaited_by_evaluation
Was this run started by `crewai eval`, to be evaluated?
lib/crewai-core/src/crewai_core/eval_handshake.py:94
↓ 4 callersMethodsanitize_tool_name
Sanitize tool name for API compatibility.
lib/crewai/src/crewai/agents/agent_adapters/base_tool_adapter.py:38
↓ 4 callersFunctionsanitize_tool_params_for_openai_strict
Sanitize a JSON schema for OpenAI strict function calling.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:617
↓ 4 callersMethodscope
Return a scoped view of this memory.
lib/crewai/src/crewai/memory/unified_memory.py:911
↓ 4 callersFunctionserialize_guardrail_for_json
Serialize a single guardrail value for JSON checkpointing. String descriptions are preserved; callable references cannot be JSON-serialized a
lib/crewai/src/crewai/utilities/guardrail.py:12
↓ 4 callersFunctionserialize_guardrails_for_json
Serialize a guardrails value (single or sequence) for JSON checkpointing. Dropped callables are filtered out of lists rather than emitted as ``No
lib/crewai/src/crewai/utilities/guardrail.py:34
↓ 4 callersFunctionserialize_model_class
Serialize a ``type[BaseModel]`` field value as its JSON schema. Args: value: A ``type[BaseModel]`` subclass, ``None``, or another union m
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:797
↓ 4 callersMethodserve
(self, monkeypatch, response)
lib/crewai-files/tests/spreadsheets/test_loading.py:192
↓ 4 callersMethodsetup_listeners
Setup event listeners - delegates to specific handlers. Args: crewai_event_bus: The event bus to register listeners on.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:226
↓ 4 callersMethodsheet
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:411
↓ 4 callersMethodshould_render_failure_panel
Whether a reported failure should print its own red panel. A tool that *raised* already printed one via ``ToolUsageErrorEvent``, so o
lib/crewai/src/crewai/events/utils/console_formatter.py:504
↓ 4 callersMethodshould_render_success_panel
Whether a finished tool call should print the green panel. A failed call must not read as successful, so the red panel replaces it.
lib/crewai/src/crewai/events/utils/console_formatter.py:496
↓ 4 callersMethodshutdown
(self)
lib/crewai/src/crewai/telemetry/tracing/grants.py:438
↓ 4 callersFunctionspans
(batch)
lib/crewai/tests/telemetry/test_session_trace_export.py:119
↓ 4 callersFunctionsuppress_logging
Suppress verbose logging output from specified logger. Commonly used to suppress ChromaDB's verbose HNSW index logging. Restore the configure
lib/crewai/src/crewai/utilities/logger_utils.py:11
↓ 4 callersMethodswitch
(self, org_id: str)
lib/cli/src/crewai_cli/organization/main.py:53
↓ 4 callersMethodtest
Test and evaluate the Crew with the given inputs for n iterations. Uses concurrent.futures for concurrent execution.
lib/crewai/src/crewai/crew.py:2353
↓ 4 callersFunctiontool_execution_error_type
Map an exception to ``MCPToolExecutionFailedEvent.error_type``. Args: exc: The exception raised while executing an MCP tool. Returns
lib/crewai/src/crewai/mcp/exceptions.py:133
↓ 4 callersFunctionturn_tracing_on
`CREWAI_TRACING_ENABLED=true` in the project's .env, and in this process: what somebody asked whether to turn tracing on said yes to.
lib/cli/src/crewai_cli/experimental/eval_crew.py:307
↓ 4 callersFunctionunsupported_parameter_error
What a non-reasoning model returns for the parameter itself.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:87
↓ 4 callersMethodupdate
Update a record by ID. Preserves created_at, updates last_accessed.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:344
↓ 4 callersFunctionupdate_catalog
Download the LiteLLM catalog with curl and write it into the checkout. Args: repo_root: Checkout root that contains ``lib/crewai``.
lib/devtools/src/crewai_devtools/litellm_catalog_update.py:28
↓ 4 callersFunctionupdate_template_dependencies
Update crewai dependency versions in CLI template pyproject.toml files. Uses simple string replacement instead of TOML parsing because templa
lib/devtools/src/crewai_devtools/cli.py:639
↓ 4 callersMethoduser_texts
Text of every ``user`` turn in a recorded request.
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:150
↓ 4 callersFunctionvalidate_model
Validate and convert a JSON string to a Pydantic model or dict. Args: result: The JSON string to validate and convert. model: The
lib/crewai/src/crewai/utilities/converter.py:284
↓ 4 callersFunctionvalidate_text
Validate a text file against general constraints. Args: file: The text file to validate. constraints: Provider constraints to val
lib/crewai-files/src/crewai_files/processing/validators.py:445
↓ 4 callersMethodw_acquire
Acquire a write lock, blocking if any readers or writers are active.
lib/crewai/src/crewai/utilities/rw_lock.py:57
↓ 4 callersMethodw_release
Release a write lock and notify all waiting threads.
lib/crewai/src/crewai/utilities/rw_lock.py:64
↓ 4 callersFunctionwith_cells
A one-sheet workbook whose sheetData is exactly ``rows``.
lib/crewai-files/tests/spreadsheets/test_reading.py:56
↓ 4 callersFunctionwrap_file_source
Wrap a FileSource in the appropriate typed FileInput wrapper. Args: source: The file source to wrap. Returns: Typed FileInpu
lib/crewai-files/src/crewai_files/resolution/utils.py:19
↓ 4 callersFunctionwrite_env_file
Writes environment variables to a gitignored .env file for local use. The file holds API keys, so it is written owner-only, an existing one is
lib/cli/src/crewai_cli/utils.py:270
↓ 3 callersMethod__init__
Initialize the exception. Args: message: Error message describing the issue. file_name: Optional name of the file tha
lib/crewai-files/src/crewai_files/processing/exceptions.py:25
↓ 3 callersMethod__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:156
↓ 3 callersMethod__init__
(self, steps: list[str])
lib/crewai/tests/tools/test_tool_failure.py:56
↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_delete_after_use).
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:147
↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_kill_after_use).
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:147
↓ 3 callersFunction_afetch_agent_card_impl
Internal async implementation of AgentCard fetching.
lib/crewai/src/crewai/a2a/utils/agent_card.py:237
↓ 3 callersFunction_agent_class_from_definition
( defn: dict[str, Any], source: str | Path, *, resolve_python_refs: bool = True, project_r
lib/crewai/src/crewai/project/json_loader.py:917
↓ 3 callersFunction_agent_kwargs_from_definition
( defn: dict[str, Any], path: Path | str, *, agent_class: type[Any] | None = None, resolve
lib/crewai/src/crewai/project/json_loader.py:1008
↓ 3 callersFunction_agent_llm_model
(llm: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:847
↓ 3 callersFunction_agent_span
(pipeline, *, prompt: str, output: str)
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:202
↓ 3 callersMethod_aggregate_agent_results
( self, agent_id: str, agent_role: str, results: Sequence[AgentEvaluationResul
lib/crewai/src/crewai/experimental/evaluation/evaluation_display.py:250
↓ 3 callersMethod_alocked
Async cross-process lock that acquires/releases in an executor.
lib/crewai/src/crewai/rag/chromadb/client.py:83
↓ 3 callersFunction_amp_deploy_doubles
A deploy whose creates get these AMP statuses, through the real response check, and a login that succeeds.
lib/cli/tests/test_crew_run_tui.py:2644
↓ 3 callersMethod_append_evaluation
The evaluation under the run's own line: what it is doing, where to read it, and what it answered. Everything here came over the wire, so
lib/cli/src/crewai_cli/crew_run_tui.py:1957
↓ 3 callersMethod_append_public_turn_result_and_persist
Copy a public handler return into history, then snapshot if needed. Built-in routes already call ``append_assistant_message`` inside the
lib/crewai/src/crewai/flow/conversational_mixin.py:1609
↓ 3 callersFunction_apply_error
Derive OTEL status from *error* and set standard error attributes on *span*. When *error* is an exception object, ``error.type`` is set to the cl
lib/crewai/src/crewai/telemetry/tracing/handlers.py:744
↓ 3 callersMethod_aprocess_async_tasks
Process pending async tasks and return their outputs.
lib/crewai/src/crewai/crew.py:1459
↓ 3 callersFunction_assert_all_closed
Every recorded connection must reject further use.
lib/crewai/tests/test_sqlite_connection_lifecycle.py:42
↓ 3 callersFunction_assert_usage
(llm: BaseLLM, calls: int)
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:328
↓ 3 callersMethod_attempt_mcp_discovery
Attempt single MCP discovery; returns *(result, error_message, should_retry)*.
lib/crewai/src/crewai/mcp/tool_resolver.py:614
↓ 3 callersMethod_bind_runtime_state
(self, *event_dicts: dict[str, object])
lib/crewai/tests/events/test_event_context.py:192
↓ 3 callersFunction_build_completion
Build a BedrockCompletion with mocked AWS credentials/session.
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:63
↓ 3 callersMethod_build_event_data
Build event data
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:1010
↓ 3 callersMethod_call_conversation_llm
Compact request-local context and recover once from provider overflow. The canonical transcript remains available for display and persistence
lib/crewai/src/crewai/flow/conversational_mixin.py:1376
↓ 3 callersFunction_capped
(lines: list[str])
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:89
↓ 3 callersMethod_chain_lineage
Update lineage fields after a successful checkpoint write. Sets ``_checkpoint_id`` and ``_parent_id`` so the next write records the c
lib/crewai/src/crewai/state/runtime.py:222
↓ 3 callersFunction_chain_traced_rerun
The run app's Evaluate, pressed on a run that was not traced: the run happens again, traced, and that run is evaluated — `crewai eval`'s own p
lib/cli/src/crewai_cli/run_crew.py:955
↓ 3 callersMethod_check_usage_limit
Check if tool has reached its usage limit. Args: tool: The tool to check tool_name: The name of the tool (used for er
lib/crewai/src/crewai/tools/tool_usage.py:792
↓ 3 callersFunction_checkpointed_crew
One crew that has run once and saved a checkpoint. Mirrors what ``_sync_checkpoint_fields`` plus a finished kickoff leave on the live object.
lib/crewai/tests/test_crew_copy_resume_state.py:20
↓ 3 callersFunction_clear_lines
(n: int)
lib/cli/src/crewai_cli/tui_picker.py:73
↓ 3 callersMethod_clear_or_listeners
Clear fired OR listeners for cyclic flows.
lib/crewai/src/crewai/flow/runtime/__init__.py:1084
↓ 3 callersMethod_clear_scroll
(self, tab_id: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:475
↓ 3 callersFunction_clocked_sleep
time.sleep records each wait and moves the CLI's monotonic clock on by it, so the unanswered deadline sees the time pass.
lib/cli/tests/experimental/test_eval_crew.py:652
↓ 3 callersMethod_collapse_plan_on_task_done
Collapse unfinished display-only plan steps once the task succeeds.
lib/cli/src/crewai_cli/crew_run_tui.py:2501
↓ 3 callersFunction_compute_file_hash
Compute SHA-256 hash of file content. Uses streaming for FilePath sources to avoid loading large files into memory.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:75
↓ 3 callersFunction_configured_settings
The values of ``names`` a caller configured on ``base``. Skips what is unset (``None``, an empty list or dict) and what ``base``'s class deri
lib/crewai/src/crewai/utilities/llm_utils.py:447
↓ 3 callersFunction_contains_file_id_reference
Check if any message content contains a file_id reference. Anthropic's Files API is in beta and requires a special header when file_id refere
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:145
↓ 3 callersMethod_conversation_streaming_enabled
(self, llm: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1727
↓ 3 callersFunction_count_run_usage
(event: str, attributes: dict[str, str] | None = None)
lib/cli/src/crewai_cli/run_crew.py:752
↓ 3 callersMethod_covered
(self, coverage: CoveredUpdate)
lib/crewai/src/crewai/experimental/flow_replies.py:156
↓ 3 callersMethod_crew
(self, **crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:247
↓ 3 callersFunction_crew_loader_whose_kickoff_raises
(error: str, *, imports: str = "")
lib/cli/tests/test_run_crew.py:464
↓ 3 callersFunction_crewed_task
A task whose agent belongs to a crew, as the task handlers require.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:97
↓ 3 callersMethod_current_usage_summary
Snapshot the cumulative usage counters backing this agent's LLM. The counters live on the LLM instance (or the agent's token process
lib/crewai/src/crewai/agent/core.py:2130
↓ 3 callersFunction_default_model_for_provider
Return the default provider/model string for a ``--provider`` value.
lib/cli/src/crewai_cli/create_json_crew.py:1009
↓ 3 callersFunction_detect_location
Resolve the default checkpoint location. When the caller passes the default directory path, check whether a SQLite database exists at the con
lib/cli/src/crewai_cli/checkpoint_cli.py:81
← previousnext →1,501–1,600 of 19,264, ranked by callers