MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 3 callersMethod_pop_task_state
Return the start-time state for a completion/failure event's task. Tasks can run async/overlapping, so the event's task identity is m
lib/cli/src/crewai_cli/crew_run_tui.py:2510
↓ 3 callersMethod_prepare_completion_params
Prepare parameters for Anthropic messages API. Args: messages: Formatted messages for Anthropic system_message: Extra
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:627
↓ 3 callersMethod_prepare_completion_params
( self, messages: list[LLMMessage], tools: list[dict[str, Any]] | None = None )
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:360
↓ 3 callersMethod_prepare_git_repository
Prepare Git for deploy while preserving remote deploy when possible. With ``fetch_origin=False`` an origin remote is ignored: nothing is
lib/cli/src/crewai_cli/deploy/main.py:644
↓ 3 callersMethod_print_current_organization
(self)
lib/cli/src/crewai_cli/skills/main.py:455
↓ 3 callersFunction_project_runner_code
(module_name: str, invocation: str)
lib/cli/src/crewai_cli/run_crew.py:112
↓ 3 callersFunction_prune_sqlite
(db_path: str, keep: int | None, older_than: timedelta | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:689
↓ 3 callersMethod_push
A push request's options: `project_id=` as `_project`, and `force=True` when the push was asked to go ahead whatever runs.
lib/cli/src/crewai_cli/deploy/main.py:322
↓ 3 callersFunction_python_reference_definition_errors
( defn: dict[str, Any], source: str | Path, )
lib/crewai/src/crewai/project/json_loader.py:1281
↓ 3 callersFunction_read_json
(path: Path)
lib/cli/src/crewai_cli/model_catalog.py:583
↓ 3 callersFunction_record
(rid: str, categories: list[str], metadata: dict | None = None)
lib/crewai/tests/memory/test_qdrant_search_categories.py:27
↓ 3 callersFunction_record_env_on_chat
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/cli/test_crew_chat.py:264
↓ 3 callersMethod_record_tui_button_click
(self, button_name: str)
lib/cli/src/crewai_cli/crew_run_tui.py:1755
↓ 3 callersFunction_refusal_reason
AMP's refusal by status class, for the usage count.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2403
↓ 3 callersMethod_register_handler
Register a handler for the given event type. Args: event_type: The event class to listen for handler: The handler fun
lib/crewai/src/crewai/events/event_bus.py:217
↓ 3 callersFunction_reimport
(monkeypatch: pytest.MonkeyPatch, module: str)
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:92
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_delete: bool)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:172
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_kill: bool)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:171
↓ 3 callersFunction_resolve_callable_fields
( kwargs: dict[str, Any], source: str | Path, *, scalar_fields: set[str], list_fields: set
lib/crewai/src/crewai/project/json_loader.py:1561
↓ 3 callersFunction_resolve_crew_inputs
Resolve kickoff inputs for a declarative crew. Mirrors the declarative-flow experience (``_resolve_flow_inputs``): layers ``--inputs`` over t
lib/cli/src/crewai_cli/run_crew.py:226
↓ 3 callersFunction_resolve_crew_skills
Resolve crew-level skill paths once so agents don't repeat the work.
lib/crewai/src/crewai/crews/utils.py:57
↓ 3 callersFunction_resolve_object_reference_fields
( kwargs: dict[str, Any], source: str | Path, fields: set[str], project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1502
↓ 3 callersFunction_resolve_platform_tools
Materialize an AMP application selector into CrewAI tools.
lib/crewai/src/crewai/project/json_loader.py:1915
↓ 3 callersFunction_resolve_result
Resolve a potentially async result to its value.
lib/crewai/src/crewai/project/wrappers.py:140
↓ 3 callersMethod_retrieve_memory_context
Retrieve memory context and append it to the task prompt. Args: task: The task being executed. task_prompt: The curre
lib/crewai/src/crewai/agent/core.py:803
↓ 3 callersMethod_route_finish_with_todos
Helper to route finish events, checking for pending todos first. If there are pending todos, route to todo_satisfied instead of the d
lib/crewai/src/crewai/agents/agent_executor.py:1828
↓ 3 callersMethod_routing_artefact_labels
Strings that are a routing decision rather than something to say. Derived from the effective routes so a declaration that customizes
lib/crewai/src/crewai/flow/conversational_mixin.py:1658
↓ 3 callersMethod_run
(self, search_query: str, max_results: int = 5)
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:43
↓ 3 callersMethod_run
Execute the Agent Handler tool with the given arguments.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:117
↓ 3 callersMethod_run
( self, url: str | None = None, format: str | None = None, data_format: str |
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_unlocker.py:106
↓ 3 callersMethod_run
Emit ``events`` through a scoped bus with a freshly wired listener.
lib/crewai/tests/telemetry/test_crew_completed_span.py:135
↓ 3 callersFunction_run_the_json_runner_on_crewai
Run the JSON crew runner, headless, in a project whose environment's crewai is CREWAI_FILES, each a path under `crewai/` and its source.
lib/cli/tests/test_run_crew.py:431
↓ 3 callersFunction_run_with_events
(flow, inputs=None)
lib/crewai/tests/test_flow_from_definition.py:507
↓ 3 callersMethod_save_kickoff_to_memory
Save kickoff result to memory. No-op if agent has no memory.
lib/crewai/src/crewai/agent/core.py:2102
↓ 3 callersFunction_save_shuffled
Save ``count`` records out of chronological order and return them newest first.
lib/crewai/tests/memory/test_storage_backend_contract.py:64
↓ 3 callersFunction_say_a_person_is_here
The rule only holds where a prompt could have been shown, and a suite is one of the places it could not. These cases are about a real session.
lib/cli/tests/test_trace_consent_session.py:22
↓ 3 callersMethod_say_this_run_will_be_evaluated
Opened to run the crew for an evaluation that just turned tracing on for the project (the yes inferred from `crewai eval`, the first time):
lib/cli/src/crewai_cli/crew_run_tui.py:847
↓ 3 callersMethod_send_events_to_backend
Send buffered events to backend with graceful failure handling
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:287
↓ 3 callersFunction_set_agent_fingerprint
Set fingerprint data on an event from an agent object.
lib/crewai/src/crewai/events/types/agent_events.py:124
↓ 3 callersMethod_set_flow_step_status
Update a flow method step's status. Caller must hold ``self._lock``.
lib/cli/src/crewai_cli/crew_run_tui.py:969
↓ 3 callersMethod_set_result
Set the final result after streaming completes. Args: result: The final CrewOutput.
lib/crewai/src/crewai/types/streaming.py:571
↓ 3 callersMethod_set_tick_rate
(self, interval: float)
lib/cli/src/crewai_cli/crew_run_tui.py:1574
↓ 3 callersMethod_should_defer_session_finalization
True when the active trace belongs to a deferred flow session.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:832
↓ 3 callersMethod_skill_dir
(self, org: str, name: str)
lib/crewai/src/crewai/skills/cache.py:40
↓ 3 callersFunction_skill_response
(name: str, version: str | None = None)
lib/crewai/tests/skills/test_registry.py:36
↓ 3 callersMethod_start_condition
( self, method_name: FlowMethodName )
lib/crewai/src/crewai/flow/runtime/__init__.py:588
↓ 3 callersMethod_start_method_names
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:565
↓ 3 callersMethod_step
(self, name: str)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:78
↓ 3 callersFunction_storage
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:38
↓ 3 callersFunction_streamed_function_call
The Responses API events for one streamed `multiply` call.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:682
↓ 3 callersFunction_stub_crew
The minimum `crew_creation` reads: key, id, fingerprint, memory, process, tasks, agents.
lib/crewai/tests/telemetry/test_telemetry.py:363
↓ 3 callersMethod_stub_transport
Reject like GPT-5.6 until an explicit reasoning_effort="none" arrives. The reasoning planner calls the LLM with its own `available_functions`
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:856
↓ 3 callersMethod_table_exists
(self, table_name: str)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:609
↓ 3 callersFunction_task_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:954
↓ 3 callersFunction_task_list_from_meta
(meta: dict[str, Any])
lib/cli/src/crewai_cli/checkpoint_cli.py:527
↓ 3 callersFunction_task_output_format
The output format ``task`` declared, as the ``OutputFormat`` value string. A finished task's ``TaskOutput`` records the format it was produced un
lib/crewai/src/crewai/telemetry/tracing/handlers.py:587
↓ 3 callersFunction_to_definition_condition
(condition: FlowTrigger)
lib/crewai/src/crewai/flow/dsl/_conditions.py:75
↓ 3 callersFunction_tool_call_response
(name: str, arguments: str)
lib/crewai/tests/test_llm_litellm_usage_events.py:64
↓ 3 callersFunction_tool_contents
(messages: list[Any])
lib/crewai/tests/tools/test_tool_failure.py:1859
↓ 3 callersFunction_top_values
(series: Column, n: int = 3)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:112
↓ 3 callersMethod_tracing_was_asked_for
Did somebody turn tracing on for this run? Read here rather than through `tracing_asked_for()`, because the ContextVar that helper re
lib/cli/src/crewai_cli/crew_run_tui.py:1410
↓ 3 callersFunction_truncate_log_text
(value: Any, limit: int)
lib/cli/src/crewai_cli/crew_run_tui.py:59
↓ 3 callersFunction_trusted_amp_origins
Where the saved login may be sent: the AMP this machine is configured for (`crewai enterprise configure`), one already exported in this shell, and
lib/cli/src/crewai_cli/experimental/eval_crew.py:703
↓ 3 callersFunction_trusted_deserialize
Return True only if ``CREWAI_DESERIALIZE_CALLBACKS`` is an explicit yes.
lib/crewai/src/crewai/types/callback.py:26
↓ 3 callersFunction_user_data_lock_name
Return a stable lock name for the user data file.
lib/crewai-core/src/crewai_core/user_data.py:29
↓ 3 callersFunction_validate_format
Validate content type against supported formats. Args: file_type: Type label for error messages (e.g., "Image", "Audio"). filenam
lib/crewai-files/src/crewai_files/processing/validators.py:194
↓ 3 callersFunction_wait
Poll until the evaluation is done or failed. Every unfinished answer goes to ON_STATUS, so a caller that has somewhere to show progress can s
lib/cli/src/crewai_cli/experimental/eval_crew.py:1537
↓ 3 callersMethod_write_checkpoint
Write a UTF-8 checkpoint whose entity name is non-ASCII, as the runtime does.
lib/crewai/tests/test_checkpoint_cli.py:235
↓ 3 callersFunction_write_classic_crew_project
( root: Path, monkeypatch: pytest.MonkeyPatch, *, with_crew_module: bool = True )
lib/crewai/tests/cli/test_crew_chat.py:177
↓ 3 callersFunction_write_project
Create a minimal Poetry-style project with a lock file in ``tmp_path``.
lib/cli/tests/test_update_crew.py:26
↓ 3 callersFunction_zip_deployment_flag
Whether AMP holds this deployment's code as a ZIP, or None when the status does not say. AMP's status sends `source_type` ("zip", "studio", "
lib/cli/src/crewai_cli/deploy/main.py:114
↓ 3 callersFunctionaclear_files
Clear files for a crew execution asynchronously. Args: execution_id: Unique identifier for the crew execution.
lib/crewai/src/crewai/utilities/file_store.py:98
↓ 3 callersMethodaction_deploy_crew
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1456
↓ 3 callersMethodaction_view_traces
Open AMP's view of this run's traces. crewAI prints that link after a run, but never under a TUI — its console is kept out of this la
lib/cli/src/crewai_cli/crew_run_tui.py:1363
↓ 3 callersFunctionactivity
(flow, seq, **kwargs)
lib/crewai/tests/test_flow_replies.py:52
↓ 3 callersMethodadd
(self, mdx: str)
lib/crewai-tools/src/crewai_tools/tools/mdx_search_tool/mdx_search_tool.py:39
↓ 3 callersMethodadd
(self, csv: str)
lib/crewai-tools/src/crewai_tools/tools/csv_search_tool/csv_search_tool.py:39
↓ 3 callersMethodadd
(self, docx: str)
lib/crewai-tools/src/crewai_tools/tools/docx_search_tool/docx_search_tool.py:39
↓ 3 callersMethodadd
(self, pdf: str)
lib/crewai-tools/src/crewai_tools/tools/pdf_search_tool/pdf_search_tool.py:40
↓ 3 callersMethodadd_edge
Add an edge from this node to another. Args: edge_type: The relationship type. target_id: The event_id of the target
lib/crewai/src/crewai/state/event_record.py:78
↓ 3 callersMethodadd_sources
(self)
lib/crewai/src/crewai/knowledge/knowledge.py:154
↓ 3 callersMethodadelete
Async delete an uploaded file. Default implementation runs sync delete in executor. Override in subclasses for native async support.
lib/crewai-files/src/crewai_files/uploaders/base.py:86
↓ 3 callersFunctionaget_all_files
Get merged crew and task files asynchronously. Task files override crew files with the same name. Args: crew_id: Unique identifier f
lib/crewai/src/crewai/utilities/file_store.py:154
↓ 3 callersMethodaget_by_hash
Get a cached upload by file hash. Args: file_hash: Hash of the file content. provider: The provider name. Re
lib/crewai-files/src/crewai_files/cache/upload_cache.py:207
↓ 3 callersFunctionaget_files
Retrieve files for a crew execution asynchronously. Args: execution_id: Unique identifier for the crew execution. Returns: D
lib/crewai/src/crewai/utilities/file_store.py:81
↓ 3 callersMethodainvoke
Async version of invoke. Alias for invoke_async.
lib/crewai/src/crewai/agents/agent_executor.py:3322
↓ 3 callersMethodall_of
(self, event_type: type[BaseEvent])
lib/crewai/tests/events/test_event_ordering.py:50
↓ 3 callersFunctionallows_private_host
Whether *hostname* is explicitly allowed to resolve privately. Matching is exact on the hostname: no wildcards, and IP addresses are never al
lib/crewai-tools/src/crewai_tools/security/safe_path.py:276
↓ 3 callersFunctionanalyze_query
Use the LLM to analyze a recall query. On LLM failure, returns safe defaults so recall degrades to plain vector search. Args: query:
lib/crewai/src/crewai/memory/analyze.py:204
↓ 3 callersMethodanimateEdgeWidth
( edges, edgeId, targetWidth, duration = CONSTANTS.EDGE.ANIMATION_DURATION, )
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:584
↓ 3 callersMethodanimateToPosition
(targetPosition)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2391
↓ 3 callersFunctionappend_message
Append a message to ``state.messages`` or the flow fallback buffer.
lib/crewai/src/crewai/flow/conversation.py:117
↓ 3 callersFunctionapply_execution_context
Write an ExecutionContext back into the ContextVars.
lib/crewai/src/crewai/context.py:120
↓ 3 callersMethodareset
(self)
lib/crewai/tests/agents/test_agent.py:1897
↓ 3 callersMethodaresolve_files
Async resolve multiple files in parallel. Args: files: Dictionary mapping names to file inputs. provider: Provider na
lib/crewai-files/src/crewai_files/resolution/resolver.py:451
↓ 3 callersMethodasave
Save documents to the knowledge base asynchronously. Args: documents: List of document strings to save.
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:181
↓ 3 callersMethodasave
(self, documents)
lib/crewai/tests/agents/test_agent.py:1891
↓ 3 callersMethodasearch
Search for documents in the knowledge base asynchronously. Args: query: List of query strings. limit: Maximum number
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:138
↓ 3 callersMethodaset_by_hash
Cache an uploaded file by hash. Args: file_hash: Hash of the file content. content_type: MIME type of the file.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:262
↓ 3 callersFunctionassert_anonymous
A random uuid4: not the run's id, not the project's, nothing derived.
lib/cli/tests/experimental/test_eval_crew.py:976
← previousnext →1,701–1,800 of 19,264, ranked by callers