MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

↓ 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:510
↓ 4 callersFunctionspans
(batch)
lib/crewai/tests/telemetry/test_session_trace_export.py:137
↓ 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:2362
↓ 4 callersFunctiontool_exchange
(messages)
lib/crewai/tests/agents/test_conversation.py:523
↓ 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:313
↓ 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_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:457
↓ 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:20
↓ 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:920
↓ 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:1011
↓ 3 callersFunction_agent_llm_model
(llm: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:854
↓ 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:84
↓ 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:2867
↓ 3 callersMethod_answer
(self)
lib/crewai-core/tests/test_plus_api_proxy.py:64
↓ 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:2031
↓ 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:1697
↓ 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:751
↓ 3 callersFunction_approval_run_of
(agent: object)
lib/crewai/src/crewai/tools/agent_state.py:63
↓ 3 callersMethod_aprocess_async_tasks
Process pending async tasks and return their outputs.
lib/crewai/src/crewai/crew.py:1463
↓ 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 callersFunction_at_a_terminal
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:1250
↓ 3 callersMethod_attempt_mcp_discovery
Attempt single MCP discovery; returns *(result, error_message, should_retry)*.
lib/crewai/src/crewai/mcp/tool_resolver.py:612
↓ 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_content
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:315
↓ 3 callersMethod_build_event_data
Build event data
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:1016
↓ 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:1464
↓ 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_chunks_that_all_carry_usage
OpenAI reports usage only on a final chunk with empty choices. A vLLM server asked for ``continuous_usage_stats`` attaches the running totals to
lib/crewai/tests/llms/openai/test_openai.py:2606
↓ 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:1094
↓ 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:677
↓ 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:2575
↓ 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:148
↓ 3 callersMethod_conversation_streaming_enabled
(self, llm: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1815
↓ 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:2357
↓ 3 callersFunction_data_message
A user message holding ``body`` in the block the agent reads as data.
lib/crewai/src/crewai/tools/agent_state.py:52
↓ 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:1014
↓ 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
↓ 3 callersMethod_display_auth_instructions
Print and open the verification URL the user must visit.
lib/crewai-core/src/crewai_core/auth/oauth2.py:159
↓ 3 callersFunction_do_checkpoint
Write a checkpoint and prune old ones if configured.
lib/crewai/src/crewai/state/checkpoint_listener.py:113
↓ 3 callersMethod_drain_memory_writes
Block until all pending background memory saves have completed. Covers the crew memory, per-agent memories, and the manager agent's m
lib/crewai/src/crewai/crew.py:1926
↓ 3 callersMethod_effective_internal_routes
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1655
↓ 3 callersFunction_ended_by
The limit that ended a saved login first, or None while it is inside 72 hours of its last use and 30 days of its start. One saved before these tim
lib/crewai-core/src/crewai_core/token_manager.py:301
↓ 3 callersMethod_ensure_async_client
Ensure async client is initialized and return it.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1330
↓ 3 callersFunction_ensure_dir_mode
Tighten a dedicated config directory to 0o700. Skips directories shared with other users or content (the system temp dir and the current work
lib/crewai-core/src/crewai_core/settings.py:29
↓ 3 callersFunction_ensure_handlers_registered
Register checkpoint handlers on the event bus once, lazily.
lib/crewai/src/crewai/state/checkpoint_listener.py:43
↓ 3 callersMethod_ensure_indexes
Create payload indexes for efficient filtering.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:164
↓ 3 callersFunction_entity_icon
(etype: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:115
↓ 3 callersFunction_env_file
The `.env` crewAI loads for the project: the nearest one at or above it, as python-dotenv's `find_dotenv` finds it from the project's venv.
lib/cli/src/crewai_cli/api_keys.py:513
↓ 3 callersFunction_ephemeral_user
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1170
↓ 3 callersFunction_event_types
(handled)
lib/crewai/tests/tracing/test_skill_used_tracing.py:41
↓ 3 callersFunction_execute_declarative_flow_command
Run COMMAND in the project's environment. Args: command: The `uv run crewai ...` command to run. counted_run: COMMAND is a `crewa
lib/cli/src/crewai_cli/run_declarative_flow.py:575
↓ 3 callersMethod_execute_listeners
Executes all listeners and routers triggered by a method completion. This internal method manages the execution flow by: 1. First exe
lib/crewai/src/crewai/flow/runtime/__init__.py:3198
↓ 3 callersMethod_execute_start_method
Executes a flow's start method and its triggered listeners. This internal method handles the execution of methods marked with @start
lib/crewai/src/crewai/flow/runtime/__init__.py:2864
↓ 3 callersMethod_execute_tasks
Executes tasks sequentially and returns the final output. Args: tasks (List[Task]): List of tasks to execute manager
lib/crewai/src/crewai/crew.py:1590
↓ 3 callersFunction_exit_without_chat_terminal
Explain how to drive a conversational flow headless, then exit 1. The chat TUI would block on a terminal that is not there. Callers check ``i
lib/cli/src/crewai_cli/kickoff_flow.py:120
↓ 3 callersFunction_expect_object
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:658
↓ 3 callersMethod_extract_chat_finish_reason_and_id
ChatCompletion / ChatCompletionChunk share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3181
↓ 3 callersMethod_extract_claude_tool_result_ids
(message: LLMMessage)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:311
↓ 3 callersMethod_extract_finish_reason_and_id
Azure ``ChatCompletions`` / ``StreamingChatCompletionsUpdate`` share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1364
↓ 3 callersMethod_extract_thinking_block
Extract and format thinking block from content block. Args: content_block: Content block from Anthropic response Returns
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:797
↓ 3 callersMethod_extract_tools_from_message_history
Extract tool definitions from toolUse blocks in message history. When no tools are passed but messages contain toolUse, we need to re
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2124
↓ 3 callersFunction_failure_message
The one-line reason a tool call failed, or None when it succeeded.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:1366
↓ 3 callersFunction_fake_run
(recorded: list[list[str]], status: str)
lib/devtools/tests/test_release_catalog_phase.py:22
↓ 3 callersMethod_fetch_all_available_columns
Fetch columns for *table_name* using a parameterised query. The table name is bound via SQLAlchemy's ``:param`` syntax to prevent SQL
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:428
↓ 3 callersFunction_fetch_openai_compatible
Parse an OpenAI-shaped ``GET /models`` response.
lib/cli/src/crewai_cli/model_catalog.py:223
← previousnext →1,701–1,800 of 20,757, ranked by callers