MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 3 callersFunctionrun_hooks
Execute an explicit list of hooks against a context. This is the shared engine used both by :func:`dispatch` (which resolves global + scoped
lib/crewai/src/crewai/hooks/dispatch.py:295
↓ 3 callersFunctionsanitize_metadata_for_chromadb
Sanitize metadata to ensure ChromaDB compatibility. ChromaDB only accepts str, int, float, or bool values in metadata. This function converts
lib/crewai-tools/src/crewai_tools/rag/misc.py:17
↓ 3 callersFunctionsanitize_tool_params_for_anthropic_strict
Sanitize a JSON schema for Anthropic strict tool use.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:628
↓ 3 callersMethodsave_state
Persist the flow state after method completion. Args: flow_uuid: Unique identifier for the flow instance method_name:
lib/crewai/src/crewai/flow/persistence/base.py:48
↓ 3 callersMethodsearch
Search for memories by vector similarity with optional filters. Args: query_embedding: Embedding vector for the query.
lib/crewai/src/crewai/memory/storage/backend.py:56
↓ 3 callersMethodset_callbacks
Attempt to keep a single set of callbacks in litellm by removing old duplicates and adding new ones. Note: This only affects
lib/crewai/src/crewai/llm.py:2657
↓ 3 callersFunctionset_emission_counter
Set the emission counter to resume from a given value.
lib/crewai/src/crewai/events/base_events.py:59
↓ 3 callersMethodset_headers
(self, headers: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:148
↓ 3 callersMethodset_runtime_state
Set the RuntimeState that will be passed to event handlers.
lib/crewai/src/crewai/events/event_bus.py:282
↓ 3 callersMethodset_tracer
(self)
lib/cli/tests/test_run_usage.py:137
↓ 3 callersFunctionsetup_platform_tools
Validate CrewAI Platform apps among ``tools`` and return the AMP token.
lib/cli/src/crewai_cli/agent_tools.py:36
↓ 3 callersMethodshutdown
(self)
lib/crewai-core/src/crewai_core/telemetry.py:137
↓ 3 callersMethodsimple_task
(self)
lib/crewai/tests/test_project.py:33
↓ 3 callersMethodsnapshot
Read under state_lock when work can still mutate state.
lib/crewai/src/crewai/experimental/flow_jobs.py:257
↓ 3 callersFunctionsource_for
Provide notebook input through both file and inline source paths.
lib/crewai-tools/tests/rag/test_notebook_loader.py:14
↓ 3 callersFunctionspreadsheet_tools
The two spreadsheet tools, answering about ``files``, which ``urls`` (URL to name) also names.
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:257
↓ 3 callersFunctionstart
Marks a method as a flow's starting point. This decorator designates a method as an entry point for the flow execution. It can optionally spe
lib/crewai/src/crewai/flow/dsl/_start.py:18
↓ 3 callersMethodstub_async
( self, llm: BedrockCompletion, monkeypatch: pytest.MonkeyPatch, text: str = A
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:126
↓ 3 callersMethodsupports_stop_words
Check if the model supports stop words.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3154
↓ 3 callersMethodsystem_text
System text from the top-level ``system`` parameter, as sent.
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:158
↓ 3 callersMethodtable_exists
(self)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:656
↓ 3 callersMethodtask_failed
Records that a task execution failed and closes its span with ERROR. Failures were previously routed through ``task_ended``, which closes eve
lib/crewai/src/crewai/telemetry/telemetry.py:579
↓ 3 callersFunctiontickets_xlsx
(note: str = "")
lib/crewai/tests/agents/test_agent_spreadsheets.py:57
↓ 3 callersMethodto_json
Convert text to json. Args: current_attempt: The current attempt number for conversion retries. Returns: A J
lib/crewai/src/crewai/utilities/converter.py:153
↓ 3 callersMethodto_structured_tool
Convert this tool to a CrewStructuredTool instance.
lib/crewai/src/crewai/tools/base_tool.py:432
↓ 3 callersFunctiontool_result
(messages: list[dict[str, Any]])
lib/crewai/tests/agents/test_agent_spreadsheets.py:160
↓ 3 callersMethodtool_usage_error
Records when a tool usage results in an error. Args: llm: The language model being used when the error occurred. agen
lib/crewai/src/crewai/telemetry/telemetry.py:664
↓ 3 callersFunctiontotal_row
The sheet row of the last row when it looks like a total of the rows above: a total label, or a numeric column whose last value is the sum of the
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:145
↓ 3 callersMethodtrain
Trains the crew for a given number of iterations.
lib/crewai/src/crewai/crew.py:954
↓ 3 callersFunctionunregister_after_llm_call_hook
Unregister a specific global after_llm_call hook. Args: hook: The hook function to remove Returns: True if the hook was foun
lib/crewai/src/crewai/hooks/llm_hooks.py:339
↓ 3 callersFunctionunregister_before_llm_call_hook
Unregister a specific global before_llm_call hook. Args: hook: The hook function to remove Returns: True if the hook was fou
lib/crewai/src/crewai/hooks/llm_hooks.py:313
↓ 3 callersMethodupdate_crew_from_zip
Update an existing crew deployment from a local project ZIP archive. PROJECT_ID as for `create_crew_from_zip`; FORCE redeploys even while a
lib/cli/src/crewai_cli/plus_api.py:195
↓ 3 callersFunctionuses_openai_responses_api
Return whether provider/API should use OpenAI Responses file support.
lib/crewai-files/src/crewai_files/processing/constraints.py:349
↓ 3 callersFunctionvalidate_directory_name
Validate that a directory name matches the skill name. Args: skill_dir: Path to the skill directory. skill_name: The declared ski
lib/crewai/src/crewai/skills/validation.py:43
↓ 3 callersMethodvalidate_expression
Validate a full CEL expression without evaluating it.
lib/crewai/src/crewai/flow/expressions.py:249
↓ 3 callersFunctionvalidate_pdf
Validate a PDF file against constraints. Args: file: The PDF file to validate. constraints: PDF constraints to validate against.
lib/crewai-files/src/crewai_files/processing/validators.py:288
↓ 3 callersFunctionversion
Show the installed version of crewai.
lib/cli/src/crewai_cli/cli.py:370
↓ 3 callersFunctionversions_match
Return True when two skill versions refer to the same version. Versions arrive as ``1.2.0`` or ``v1.2.0`` depending on whether they came from
lib/crewai/src/crewai/skills/validation.py:18
↓ 3 callersFunctionwait_for_consent
(app, pilot)
lib/cli/tests/test_trace_consent_session.py:30
↓ 3 callersMethodwith_disclosure_level
Create a new Skill at a different disclosure level. Args: level: The new disclosure level. instructions: Optional ins
lib/crewai/src/crewai/skills/models.py:151
↓ 3 callersFunctionwrite_eval_config
Write the criteria this run was graded on, for the project to edit. Only when the project has none: after that the file is theirs, and the one
lib/cli/src/crewai_cli/experimental/eval_crew.py:556
↓ 2 callersMethod__del__
(self)
lib/crewai/src/crewai/rag/embeddings/providers/oracle/embedding_callable.py:115
↓ 2 callersMethod__get__
Support the descriptor protocol for method binding. This allows the wrapped method to be properly bound to an instance when accessed
lib/crewai/src/crewai/flow/flow_wrappers.py:112
↓ 2 callersMethod__init__
( self, chunk_size: int = 3000, chunk_overlap: int = 300, separators: list[str
lib/crewai-tools/src/crewai_tools/rag/chunkers/text_chunker.py:53
↓ 2 callersMethod__init__
( self, chunk_size: int = 1200, chunk_overlap: int = 100, separators: list[str
lib/crewai-tools/src/crewai_tools/rag/chunkers/structured_chunker.py:5
↓ 2 callersMethod__init__
(self, create=None, statuses=None)
lib/cli/tests/experimental/test_eval_crew.py:91
↓ 2 callersMethod__init__
Create an MCPHTTPError. Args: status_code: HTTP status the server responded with. detail: Optional underlying error t
lib/crewai/src/crewai/mcp/exceptions.py:90
↓ 2 callersMethod__init__
Initialize the CustomLLM with a predefined response. Args: response: The predefined response to return from call().
lib/crewai/tests/test_custom_llm.py:17
↓ 2 callersMethod__init__
(self, llm, tools)
lib/crewai/tests/agents/test_lite_agent.py:275
↓ 2 callersMethod__setitem__
(self, key: str, value: ClientAuthScheme | None)
lib/crewai/src/crewai/a2a/auth/utils.py:57
↓ 2 callersFunction_a_crew_whose_script_fails
The real `crewai run` on a classic crew whose `uv run run_crew` exits 3, or raises FAILURE.
lib/cli/tests/experimental/test_eval_crew.py:4340
↓ 2 callersFunction_a_grade
(grade: Any)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1689
↓ 2 callersMethod_acall_responses
Async call to OpenAI Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:989
↓ 2 callersFunction_accepted
AMP's answer to a start: the evaluation it opened, or its refusal as a sentence.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1473
↓ 2 callersFunction_activate_tracing
(tracing: ExecutionTrace)
lib/crewai/src/crewai/execution.py:252
↓ 2 callersMethod_add_property_ordering
Add propertyOrdering to JSON schema for Gemini 2.0 compatibility. Gemini 2.0 models require an explicit propertyOrdering list to define
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1557
↓ 2 callersMethod_add_skill_loader_tool
Add the internal loader used for request-scoped skill disclosure.
lib/crewai/src/crewai/agent/core.py:661
↓ 2 callersFunction_adelegate_to_a2a
Async version of _delegate_to_a2a.
lib/crewai/src/crewai/a2a/wrapper.py:1607
↓ 2 callersMethod_aexecute_core
Run the core execution logic of the task asynchronously.
lib/crewai/src/crewai/task.py:691
↓ 2 callersMethod_aexecute_without_timeout
Execute a task without a timeout asynchronously. Args: task_prompt: The prompt to send to the agent. task: The task b
lib/crewai/src/crewai/agent/core.py:1277
↓ 2 callersFunction_afetch_agent_card_cached
Cached async implementation of AgentCard fetching.
lib/crewai/src/crewai/a2a/utils/agent_card.py:227
↓ 2 callersFunction_afetch_agent_cards_concurrently
Fetch agent cards concurrently for multiple A2A agents using asyncio.
lib/crewai/src/crewai/a2a/wrapper.py:1438
↓ 2 callersFunction_agent
()
lib/crewai/tests/tracing/test_trace_agent_prompt_output.py:30
↓ 2 callersMethod_agent_and_task
(self, code: str)
lib/crewai/tests/tools/test_tool_failure.py:1314
↓ 2 callersFunction_agent_messages
(inputs: str | None)
lib/cli/src/crewai_cli/run_agent.py:53
↓ 2 callersMethod_ahandle_converse
Handle async non-streaming converse API call.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1320
↓ 2 callersMethod_ahandle_human_feedback
Process human feedback asynchronously and refine answer. Args: formatted_answer: Initial agent result. Returns:
lib/crewai/src/crewai/agents/agent_executor.py:3570
↓ 2 callersMethod_ahandle_non_streaming_response
Handle an async non-streaming response from the LLM. Args: params: Parameters for the completion call callbacks: Opti
lib/crewai/src/crewai/llm.py:1464
↓ 2 callersMethod_ahandle_streaming_converse
Handle async streaming converse API call.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1602
↓ 2 callersMethod_ahandle_streaming_responses
Handle async streaming Responses API call.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1677
↓ 2 callersMethod_ainject_files_from_inputs
Async inject files into the last user message.
lib/crewai/src/crewai/agents/agent_executor.py:3517
↓ 2 callersMethod_ainvoke_loop
Invoke the agent loop asynchronously and return the result.
lib/crewai/src/crewai/core/providers/human_input.py:54
↓ 2 callersFunction_aiter
(chunks: list[dict[str, Any]])
lib/crewai/tests/agents/test_empty_llm_response_retry.py:312
↓ 2 callersFunction_aliases
The router's provider aliases (``crewai.llm.PROVIDER_ALIASES``): every prefix ``LLM`` strips from a model string it routes natively, to the pr
lib/crewai/src/crewai/llm_overlay.py:235
↓ 2 callersFunction_allowlist_blocked_by_lock
Whether *hostname* is listed but the forced-safe lock overrides it.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:269
↓ 2 callersFunction_an_evaluation_is_waiting
The evaluation this run was started for, if there is one. In this process the holder itself; in a child process the environment says an evalu
lib/cli/src/crewai_cli/crew_run_tui.py:467
↓ 2 callersMethod_answer
(self)
lib/crewai-core/tests/test_plus_api_proxy.py:58
↓ 2 callersMethod_answer
(self, file: str, answer: Callable[[Workbook, str], str])
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:105
↓ 2 callersFunction_arrow_select_one
(labels: list[str])
lib/cli/src/crewai_cli/tui_picker.py:177
↓ 2 callersFunction_as_float
(value: Any)
lib/cli/src/crewai_cli/model_catalog.py:576
↓ 2 callersFunction_as_structured
(response: Any, model_type: type[_StructuredT])
lib/crewai/src/crewai/flow/human_feedback.py:284
↓ 2 callersFunction_asana_crew
()
lib/crewai/tests/agents/test_agent.py:2819
↓ 2 callersFunction_ask_and_save
(name: str, env_file: Path, endpoints: list[str])
lib/cli/src/crewai_cli/api_keys.py:263
↓ 2 callersMethod_ask_llm_for_field
Query the LLM for a specific field value based on its description. Args: field_name: The name of the field to extract.
lib/crewai/src/crewai/utilities/training_converter.py:59
↓ 2 callersFunction_assert_tool_call_completed_once
(llm, mock_response)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1807
↓ 2 callersFunction_assistant_instructions
AGENTS.md with its evaluation blocks kept (markers dropped) or removed.
lib/cli/src/crewai_cli/utils.py:136
↓ 2 callersFunction_async_create
(chunks: list[MagicMock])
lib/crewai/tests/llms/openai/test_openai.py:2619
↓ 2 callersFunction_at_a_terminal
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:1107
↓ 2 callersMethod_attach_usage_aggregation_listener
Wire an ``LLMCallCompletedEvent`` listener for the duration of one ``kickoff_async`` call.
lib/crewai/src/crewai/flow/runtime/__init__.py:940
↓ 2 callersMethod_background_encode_batch
Run the encoding pipeline in a background thread with event emission. Both started and completed events are emitted here (in the background
lib/crewai/src/crewai/memory/unified_memory.py:586
↓ 2 callersMethod_begin_checkpoint
Emit the start event and return the invariant context for a checkpoint.
lib/crewai/src/crewai/state/runtime.py:235
↓ 2 callersFunction_begin_evaluation
A fresh `eval_id` for the evaluation starting now: a uuid4, never derived from the run, the project or the account.
lib/cli/src/crewai_cli/experimental/eval_crew.py:116
↓ 2 callersMethod_begin_trace_execution
( self, execution_uuid: str | None = None )
lib/crewai/src/crewai/flow/runtime/__init__.py:514
↓ 2 callersFunction_blocked_ip_error
(ip_str: str)
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:52
↓ 2 callersFunction_build
``LLM(model=..., **settings)``, without a setting the class refuses. A name the target has can still reject the value (LiteLLM's ``logprobs`` is
lib/crewai/src/crewai/utilities/llm_utils.py:421
↓ 2 callersMethod_build_and_validate_headers
(self, headers: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:153
↓ 2 callersMethod_build_async_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:299
↓ 2 callersMethod_build_async_client
(self)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:327
↓ 2 callersMethod_build_async_client
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:472
↓ 2 callersMethod_build_content
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:290
← previousnext →2,001–2,100 of 19,482, ranked by callers