MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 5 callersFunctionplanned_crew
(llm: BaseLLM, description: str)
lib/crewai/tests/agents/test_agent_spreadsheets.py:686
↓ 5 callersFunctionprepare_kickoff
Prepare crew for kickoff execution. Handles before callbacks, event emission, task handler reset, input interpolation, task callbacks, agent
lib/crewai/src/crewai/crews/utils.py:243
↓ 5 callersMethodprocess_files
Process multiple files according to constraints. Args: files: Dictionary mapping names to file inputs. Returns:
lib/crewai-files/src/crewai_files/processing/processor.py:159
↓ 5 callersMethodprocess_response_with_all
Process response through all registered extensions. Args: agent_response: The parsed agent response. extension_states
lib/crewai/src/crewai/a2a/extensions/base.py:233
↓ 5 callersFunctionprocess_task_state
Process A2A task state and return result dictionary. Shared logic for both polling and streaming handlers. Args: a2a_task: The A2A t
lib/crewai/src/crewai/a2a/task_helpers.py:138
↓ 5 callersFunctionprune_checkpoints
( location: str, keep: int | None, older_than: str | None, dry_run: bool = False )
lib/cli/src/crewai_cli/checkpoint_cli.py:707
↓ 5 callersMethodread
Retrieve a cached tool result. Args: tool: Name of the tool. input: Input string used for the tool. Returns:
lib/crewai/src/crewai/agents/cache/cache_handler.py:46
↓ 5 callersFunctionrecorded_tool_name
The tool_name the code under test handed to telemetry.
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:71
↓ 5 callersMethodremove_crew
Remove a crew deployment. Args: uuid (Optional[str]): The UUID of the crew to remove.
lib/cli/src/crewai_cli/deploy/main.py:938
↓ 5 callersMethodrender
({ ctx, id, x, y })
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:82
↓ 5 callersMethodrequest_input
Request user input via console (blocking). Displays the prompt message with formatting and waits for the user to type their response.
lib/crewai/src/crewai/flow/async_feedback/providers.py:139
↓ 5 callersFunctionrequired_key_names
Return the upper-cased ``ENV_VARS`` names ``provider`` needs set to run. Entries with a runtime default are left out, and so is azure's and c
lib/cli/src/crewai_cli/constants.py:223
↓ 5 callersMethodreset
Clear all stored task outputs.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:79
↓ 5 callersFunctionresolve_plus_response
Return ``response``, awaiting it first when the client is async. Args: response: A response, or an awaitable resolving to one. Retur
lib/crewai/src/crewai/utilities/agent_utils.py:107
↓ 5 callersFunctionresolve_ref
Return the Python symbol named by a project definition field.
lib/crewai/src/crewai/utilities/declarative_refs.py:41
↓ 5 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:1412
↓ 5 callersFunctionroute
(decision, expected="billing", **extra)
lib/crewai/tests/test_jev_evaluation_runner.py:112
↓ 5 callersMethodrun
(self, *args: Any, **kwargs: Any)
lib/crewai/src/crewai/flow/runtime/_actions.py:73
↓ 5 callersFunctionrun_after_tool_call_hooks
Run all ``post_tool_call`` hooks against a context. Returns: The (possibly modified) tool result carried on the context.
lib/crewai/src/crewai/hooks/tool_hooks.py:193
↓ 5 callersFunctionrun_awaited_by_evaluation
Was this run started by `crewai eval`, to be evaluated?
lib/crewai-core/src/crewai_core/eval_handshake.py:76
↓ 5 callersFunctionrun_before_tool_call_hooks
Run all ``pre_tool_call`` hooks against a context. Returns: True if a hook blocked execution (returned False or raised :class:`Ho
lib/crewai/src/crewai/hooks/tool_hooks.py:173
↓ 5 callersFunctionrunning_with
(*stopped)
lib/cli/tests/experimental/test_eval_crew.py:1855
↓ 5 callersFunctionsanitize_tool_params_for_openai_strict
Sanitize a JSON schema for OpenAI strict function calling.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:618
↓ 5 callersMethodsave
(self, documents: list[str])
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:163
↓ 5 callersFunctionsaved_token
()
lib/crewai/tests/telemetry/test_placeholder_traces.py:209
↓ 5 callersFunctionset_rag_config
Set global RAG client configuration and instantiate the client. Args: config: The RAG client configuration (ChromaDBConfig).
lib/crewai/src/crewai/rag/config/utils.py:27
↓ 5 callersFunctionshould_auto_collect_first_time_traces
True if we should auto-collect traces for first-time user. Returns: True if first-time user AND telemetry not disabled AND tracing not ex
lib/crewai/src/crewai/events/listeners/tracing/utils.py:513
↓ 5 callersMethodshutdown
(self)
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:224
↓ 5 callersMethodstart
(self)
lib/crewai/tests/agents/test_lite_agent.py:323
↓ 5 callersMethodstore
Persist content and return its internal binding details. Args: content: Tool result text to store. estimated_token_co
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:64
↓ 5 callersFunctionstore_task_files
Store files for a task execution. Args: task_id: Unique identifier for the task. files: Dictionary mapping names to file inputs.
lib/crewai/src/crewai/utilities/file_store.py:214
↓ 5 callersMethodstream
()
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:721
↓ 5 callersFunctionstrip_null_from_types
Remove null type from anyOf/type arrays. Pydantic generates `T | None` for optional fields, which creates schemas with null in the type. Howe
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:465
↓ 5 callersMethodstub_sync
( self, llm: BedrockCompletion, monkeypatch: pytest.MonkeyPatch, text: str = A
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:116
↓ 5 callersFunctiontemp_csv_file
()
lib/crewai-tools/tests/rag/test_csv_loader.py:12
↓ 5 callersFunctionto_langchain
Convert a list of tools to CrewStructuredTool instances.
lib/crewai/src/crewai/tools/base_tool.py:693
↓ 5 callersMethodtools
Retrieve a tool prompt by key. Args: tool: The key of the tool prompt to retrieve. Returns: The tool prompt
lib/crewai/src/crewai/utilities/i18n.py:78
↓ 5 callersFunctiontriggered_by_scope
Context manager to set the triggering event ID for causal chain tracking. All events emitted within this context will have their triggered_by_eve
lib/crewai/src/crewai/events/event_context.py:119
↓ 5 callersFunctionvalidate_directory_path
Validate that a directory path is safe to read. Same as :func:`validate_file_path` but also checks that the path is an existing directory.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:144
↓ 5 callersFunctionvalidate_file
Validate a file against provider constraints. Dispatches to the appropriate validator based on file type. Args: file: The file to va
lib/crewai-files/src/crewai_files/processing/validators.py:522
↓ 5 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:286
↓ 5 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
↓ 4 callersMethod__init__
(self)
lib/crewai/tests/test_flow.py:528
↓ 4 callersFunction_a_run_that_exits
`run_crew` printing an error, then exiting with CODE, as the JSON crew, declarative flow and agent paths do when their run fails.
lib/cli/tests/experimental/test_eval_crew.py:5146
↓ 4 callersMethod_acall_handlers
Asynchronously call provided async handlers. Args: source: The object that emitted the event event: The event instanc
lib/crewai/src/crewai/events/event_bus.py:429
↓ 4 callersMethod_aexecute_tasks
Executes tasks using native async and returns the final output. Args: tasks: List of tasks to execute start_index: In
lib/crewai/src/crewai/crew.py:1369
↓ 4 callersMethod_aexport_output
Async equivalent of ``_export_output`` — uses ``acall`` so the event loop is not blocked.
lib/crewai/src/crewai/task.py:1330
↓ 4 callersFunction_an_untraced_run_in
The app at the end of a run that was not traced, in a project whose `.env` is ENV and whose runs trace to this machine's own AMP; what it push
lib/cli/tests/test_crew_run_tui.py:3059
↓ 4 callersFunction_answer
(status: int, body: dict[str, Any], url: str)
lib/cli/tests/authentication/test_login_usage.py:62
↓ 4 callersFunction_answer
(status: int, body: dict[str, Any], url: str)
lib/crewai/tests/cli/authentication/test_login_usage.py:62
↓ 4 callersFunction_answer_key_prompts
Answer API-key prompts in order and record each prompt's text and options.
lib/cli/tests/test_create_flow.py:145
↓ 4 callersFunction_assert_history_tools_declared_and_disabled
Anthropic rejects tool_use/tool_result blocks in a request without tools.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2267
↓ 4 callersFunction_assert_tool_call_usage
(event: LLMCallCompletedEvent)
lib/crewai/tests/test_llm_litellm_usage_events.py:122
↓ 4 callersFunction_awaiting_dir
This user's crewAI data directory, found from the account's home in the account database, never from `HOME` or `XDG_DATA_HOME`: a project's `.env`
lib/cli/src/crewai_cli/crew_run_tui.py:418
↓ 4 callersFunction_bad_request
(message: str, param: str = "reasoning_effort")
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:67
↓ 4 callersFunction_blank
(value: Cell)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:619
↓ 4 callersFunction_build
(**kwargs: object)
lib/crewai/tests/utilities/test_prompts_custom_templates.py:16
↓ 4 callersMethod_build_collection_params
Build collection params, sizing vectors from the embedder when possible. When ``vectors_config`` is not given and the embedding function expo
lib/crewai/src/crewai/rag/qdrant/client.py:73
↓ 4 callersMethod_build_config
Build an EdgeConfig for the given vector dimensionality.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:148
↓ 4 callersMethod_build_messages
(self)
lib/crewai/src/crewai/utilities/converter.py:48
↓ 4 callersFunction_build_rag_config
Build a RAG config for ``provider`` around a CrewAI embedding function. When ``base_config`` is the active config for the same provider, its
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:26
↓ 4 callersMethod_build_s3_uri
Build an S3 URI from a key. Args: key: The S3 object key. Returns: S3 URI string.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:215
↓ 4 callersFunction_capture_events
(run)
lib/crewai/tests/test_artifacts.py:263
↓ 4 callersMethod_chat
(handler_result: Any)
lib/crewai/tests/test_flow_conversation.py:3703
↓ 4 callersFunction_chunks
(text: str, chunk_size: int, chunk_overlap: int)
lib/crewai/tests/knowledge/test_knowledge_chunking.py:8
↓ 4 callersMethod_claim_usage
Atomically check max usage and increment the counter. Returns: None if usage was claimed, otherwise a :class:`ToolFailure`. A
lib/crewai/src/crewai/tools/base_tool.py:329
↓ 4 callersMethod_cleanup_deferred_tool_results
Remove temporary tool-result files and their reader aliases.
lib/crewai/src/crewai/agents/agent_executor.py:422
↓ 4 callersFunction_cleanup_real_tool
(tool: OracleVectorSearchTool)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:166
↓ 4 callersFunction_cli_args
Arguments of a documented `crewai …` line, with `<placeholder>` values filled.
lib/cli/tests/test_create_crew.py:2684
↓ 4 callersFunction_coerce_int
(value: Any)
lib/crewai/src/crewai/types/usage_metrics.py:13
↓ 4 callersFunction_collected
The single collected trace event of `event_type`.
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:64
↓ 4 callersMethod_complete_step
(self, style: str, message: str, detail: str = "")
lib/cli/src/crewai_cli/crew_run_tui.py:2503
↓ 4 callersFunction_condition_branches
( condition: dict[str, Any], )
lib/crewai/src/crewai/flow/runtime/__init__.py:176
↓ 4 callersMethod_context_window_model_name
Return the model id used for context-window lookup. LiteLLM keeps provider-qualified names such as ``openai/gpt-5.6-luna``. Strip a r
lib/crewai/src/crewai/llm.py:2618
↓ 4 callersFunction_conversation_agent
()
lib/crewai/tests/telemetry/test_tracer_isolation.py:197
↓ 4 callersMethod_convert_tools_for_interference
Convert tools to a format that can be used for interference. Args: tools: List of tools to convert. Returns:
lib/crewai/src/crewai/llms/base_llm.py:649
↓ 4 callersFunction_copy_method_metadata
Copy metadata from original function to wrapper. Args: wrapper: The wrapper object to copy metadata to original: The original fun
lib/crewai/src/crewai/hooks/wrappers.py:15
↓ 4 callersMethod_copy_state
Create a copy of the current state. Returns: A copy of the current state
lib/crewai/src/crewai/flow/runtime/__init__.py:1848
↓ 4 callersFunction_count_usage
One usage count, never more: a word from a closed list, nothing that names the run, the account or its content.
lib/cli/src/crewai_cli/experimental/eval_crew.py:324
↓ 4 callersFunction_create_hook_decorator
Create a hook decorator with filtering support. This factory function eliminates code duplication across the four hook decorators. Args:
lib/crewai/src/crewai/hooks/decorators.py:18
↓ 4 callersMethod_create_mock_plan_response
Helper to create mock plan response.
lib/crewai/tests/utilities/test_structured_planning.py:508
↓ 4 callersFunction_create_point_from_document
Create a PointStruct from a document and its embedding. Args: doc: Document dictionary containing content, metadata, and optional doc_id.
lib/crewai/src/crewai/rag/qdrant/utils.py:254
↓ 4 callersMethod_create_tasks_summary
Creates a summary of all tasks. Returns: A string summarizing all tasks with their details.
lib/crewai/src/crewai/utilities/planning_handler.py:140
↓ 4 callersMethod_current
(self, coverage: CoveredUpdate)
lib/crewai/src/crewai/experimental/flow_replies.py:143
↓ 4 callersFunction_datetime_to_nanoseconds
(dt: datetime)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:586
↓ 4 callersMethod_declaration
(**overrides: Any)
lib/crewai/tests/test_flow_conversation.py:3285
↓ 4 callersFunction_default_config
A config that uses the default storage folder, placed under tmp_path.
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:143
↓ 4 callersFunction_definition_condition_parts
( condition: dict[str, Any], )
lib/crewai/src/crewai/flow/visualization/builder.py:34
↓ 4 callersFunction_delegate_to_a2a
Delegate to A2A agent with multi-turn conversation support. Args: self: The agent instance agent_response: The AgentResponse indi
lib/crewai/src/crewai/a2a/wrapper.py:1263
↓ 4 callersMethod_deployment_page_url
Build the deployment show URL, resolving UUID-only responses if needed.
lib/cli/src/crewai_cli/deploy/main.py:388
↓ 4 callersFunction_deserialize_llm_from_context
( llm_data: dict[str, Any] | str | None, )
lib/crewai/src/crewai/flow/human_feedback.py:129
↓ 4 callersFunction_dict_tool_use_stream_events
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1666
↓ 4 callersMethod_dispatch_interception
Dispatch ``point`` unless this flow must not expose it. Returns whether the dispatch happened, so callers can keep the EXECUTION_STAR
lib/crewai/src/crewai/flow/runtime/__init__.py:2667
↓ 4 callersMethod_display_deployment_info
Display deployment information. Args: json_response (Dict[str, Any]): The deployment information to display.
lib/cli/src/crewai_cli/deploy/main.py:338
↓ 4 callersFunction_done_with
(**fields)
lib/cli/tests/experimental/test_eval_crew.py:2247
↓ 4 callersFunction_drop_table
(tool: OracleVectorSearchTool, table_name: str)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool_integration.py:160
↓ 4 callersMethod_eligible
(self, record: DeliveryRecord)
lib/crewai/src/crewai/experimental/flow_replies.py:237
↓ 4 callersFunction_encrypted
HTTPS, or plain HTTP to this machine — the rule `TraceGrantClient` already applies to collector grants (localhost, its subdomains, loopback addres
lib/cli/src/crewai_cli/experimental/eval_crew.py:753
↓ 4 callersMethod_ensure_scope_index
Create a BTREE scalar index on the ``scope`` column if not present. A scalar index lets LanceDB skip a full table scan when filtering by
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:208
↓ 4 callersMethod_enter_runtime_scope
(self)
lib/crewai/src/crewai/events/event_bus.py:318
← previousnext →1,301–1,400 of 20,483, ranked by callers