MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 4 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/csv_loader.py:11
↓ 4 callersMethodload
Load all stored task outputs. Returns: List of task output dictionaries, or None if no outputs exist.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:83
↓ 4 callersFunctionload_crew_and_name
Load the crew from the user's project. A JSON crew project (``[tool.crewai].definition`` in ``pyproject.toml``) is loaded from that definitio
lib/crewai/src/crewai/utilities/crew_chat.py:313
↓ 4 callersFunctionload_crew_from_definition
Load a ``Crew`` from an in-memory JSON/YAML crew definition.
lib/crewai/src/crewai/project/crew_loader.py:40
↓ 4 callersFunctionload_env_vars
Loads environment variables from a .env file in the specified folder path.
lib/cli/src/crewai_cli/utils.py:257
↓ 4 callersMethodload_pending_feedback
(self, flow_uuid)
lib/crewai/tests/test_flow_from_definition.py:3639
↓ 4 callersFunctionload_skill_instructions
Promote a skill to INSTRUCTIONS disclosure level. Reads the full SKILL.md body text. Args: skill: Skill at METADATA level. Retu
lib/crewai/src/crewai/skills/parser.py:129
↓ 4 callersFunctionload_skills
Load skill inputs into de-duplicated Skill objects. Preserves first-seen order when multiple inputs resolve to the same skill name. Registry
lib/crewai/src/crewai/skills/loader.py:210
↓ 4 callersMethodload_state_from_history
Load one historical state saved for a given flow UUID. Args: flow_uuid: Unique identifier for the flow instance recor
lib/crewai/src/crewai/flow/persistence/sqlite.py:249
↓ 4 callersMethodmark_failed
Mark a todo as failed by step number.
lib/crewai/src/crewai/utilities/planning_types.py:104
↓ 4 callersFunctionmissing_provider_keys
Return the names ``provider`` needs that neither ``env_vars`` nor the environment sets. Entries with a runtime default are not needed.
lib/cli/src/crewai_cli/utils.py:294
↓ 4 callersFunctionmock_driver_with_html
(html_content)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:12
↓ 4 callersFunctionmodel_call_hooks_dispatched
Mark the window where the model-call hooks already ran for a pending call. The executor dispatches with its own richer context (executor, task, c
lib/crewai/src/crewai/hooks/llm_hooks.py:188
↓ 4 callersMethodobserve
Observe a step's result and decide on plan continuation. This runs after EVERY step execution — not just failures. Args:
lib/crewai/src/crewai/agents/planner_observer.py:113
↓ 4 callersMethodon_tool_use_finished
( self, tool: Any, tool_calling: ToolCalling | InstructorToolCalling, from_cac
lib/crewai/src/crewai/tools/tool_usage.py:1030
↓ 4 callersMethodorigin_url
Get the Git repository's remote URL.
lib/cli/src/crewai_cli/git.py:217
↓ 4 callersMethodparseColor
(color)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:274
↓ 4 callersFunctionparse_skill_md
Read and parse a SKILL.md file. Args: path: Path to the SKILL.md file. Returns: Tuple of (SkillFrontmatter, body text).
lib/crewai/src/crewai/skills/parser.py:76
↓ 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:4036
↓ 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 callersMethodresearcher
(self)
lib/crewai/tests/test_project.py:62
↓ 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 callersMethodsave
(self, documents: list[str])
lib/crewai/tests/knowledge/test_storage_factory.py:41
↓ 4 callersMethodscope
Return a scoped view of this memory.
lib/crewai/src/crewai/memory/unified_memory.py:911
↓ 4 callersMethodsearch
( self, query: list[str], limit: int = 5, metadata_filter: dict[str, Any] | No
lib/crewai/tests/knowledge/test_storage_factory.py:23
↓ 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 callersFunctionsetup
(tools: list[str])
lib/cli/tests/test_agent_tools.py:40
↓ 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_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
↓ 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: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: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
← previousnext →1,501–1,600 of 19,482, ranked by callers