MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 9 callersFunction_completion_body
(content: str)
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:44
↓ 9 callersFunction_create_skill_dir
Helper to create a skill directory with SKILL.md.
lib/crewai/tests/skills/test_loader.py:20
↓ 9 callersFunction_dict_tool_use_response
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1607
↓ 9 callersFunction_emit
Run one telemetry span method against a mocked tracer. The singleton is reset first: it caches the provider built on the very first construct
lib/crewai/tests/telemetry/test_telemetry.py:331
↓ 9 callersFunction_ensure_litellm
Lazy-load litellm on first use. Returns True if available.
lib/crewai/src/crewai/llm.py:138
↓ 9 callersMethod_extract_anthropic_token_usage
Extract token usage and response metadata from Anthropic response.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:2128
↓ 9 callersFunction_format_json_in_text
Find JSON objects/arrays in text and pretty-print them.
lib/cli/src/crewai_cli/crew_run_tui.py:120
↓ 9 callersMethod_format_messages
Format messages for OpenAI API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3226
↓ 9 callersMethod_format_messages_for_converse
Format messages for Converse API following AWS documentation. Note: Returns dict[str, Any] instead of LLMMessage because Bedrock uses
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1948
↓ 9 callersMethod_format_messages_for_gemini
Format messages for Gemini API. Gemini has specific requirements: - System messages are separate system_instruction - Content
lib/crewai/src/crewai/llms/providers/gemini/completion.py:644
↓ 9 callersMethod_get_or_create_interpreter
Get or create a code interpreter for the specified thread. Args: thread_id: Thread ID for the code interpreter session R
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:520
↓ 9 callersFunction_image_file
(data: bytes, filename: str = "photo.png")
lib/crewai-files/tests/processing/test_images.py:42
↓ 9 callersFunction_open_storage
Open a backend of kind ``backend`` rooted at ``path``.
lib/crewai/tests/memory/test_storage_backend_async_parity.py:49
↓ 9 callersFunction_pause
Persist a pending review for ``flow_cls.draft`` and restore it, as AMP does.
lib/crewai/tests/test_async_human_feedback.py:1473
↓ 9 callersFunction_prepare_documents_for_chromadb
Prepare documents for ChromaDB by extracting IDs, texts, and metadata. Args: documents: List of BaseRecord documents to prepare. Ret
lib/crewai/src/crewai/rag/chromadb/utils.py:56
↓ 9 callersFunction_psd
A minimal 8-bit grayscale PSD header that Pillow's PSD parser accepts.
lib/crewai-files/tests/processing/test_images.py:30
↓ 9 callersFunction_python_ref_errors
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:667
↓ 9 callersFunction_quote_identifier
(name: str)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:109
↓ 9 callersMethod_rejects_reasoning_effort_as_unsupported
Whether a 400 is the server refusing `reasoning_effort` for this model. Non-reasoning models reject the parameter itself, in one of two shape
lib/crewai/src/crewai/llms/providers/openai/completion.py:2176
↓ 9 callersMethod_run_sync
Run an async coroutine from sync context without blocking event loop.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:404
↓ 9 callersMethod_scope_path
(self, scope: str | None)
lib/crewai/src/crewai/memory/memory_scope.py:93
↓ 9 callersMethod_set_agent_params
(self, data: dict[str, Any])
lib/crewai/src/crewai/events/base_events.py:107
↓ 9 callersMethod_set_plan_step_status
Set status for an explicit plan step reported by the planner.
lib/cli/src/crewai_cli/crew_run_tui.py:2556
↓ 9 callersMethod_set_task_params
(self, data: dict[str, Any])
lib/crewai/src/crewai/events/base_events.py:101
↓ 9 callersFunction_tar_from_members
Build an in-memory tar archive via `build(tf)` and return it for reading.
lib/cli/tests/skills/test_safe_extract.py:19
↓ 9 callersMethod_zip_create
A repository mock, and AMP accepting a ZIP create.
lib/cli/tests/deploy/test_deploy_main.py:1568
↓ 9 callersMethodaemit
Asynchronously emit an event to registered async handlers. Only processes async handlers. Use in async contexts. Args: s
lib/crewai/src/crewai/events/event_bus.py:771
↓ 9 callersFunctionagent_flow
Build a Flow that calls the Agent loader for each kickoff or chat turn. A ``state`` model adds its fields to the flow state, saves the state betw
lib/crewai/src/crewai/agent/conversation.py:287
↓ 9 callersMethodasearch
(self, query, limit=5, metadata_filter=None, score_threshold=0.6)
lib/crewai/tests/agents/test_agent.py:1887
↓ 9 callersFunctionbuild_xlsx
Return the bytes of a single-sheet XLSX holding *rows*.
lib/crewai-tools/tests/url_read_tool_test.py:79
↓ 9 callersMethodcheckpoint
Write a checkpoint. Args: location: Storage destination. For JsonProvider this is a directory path; for SqlitePro
lib/crewai/src/crewai/state/runtime.py:292
↓ 9 callersMethodcheckpoint
(self)
lib/crewai/tests/test_flow_definition.py:1016
↓ 9 callersFunctionchunk_text
Split a text file into chunks of maximum character count. Yields chunks one at a time to minimize memory usage. Args: file: The text
lib/crewai-files/src/crewai_files/processing/transformers.py:243
↓ 9 callersMethodclear
Sync wrapper for aclear.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:476
↓ 9 callersMethodclient
(self, service_name: str, **kwargs: Any)
lib/crewai-files/tests/test_bedrock_async_client.py:49
↓ 9 callersMethodclose
Clean up Stagehand resources.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:681
↓ 9 callersMethodclose
(self)
lib/crewai/tests/test_jev_evaluation_runner.py:476
↓ 9 callersFunctionconfigured_project_declarative_flow
Return the configured declarative flow source for flow projects.
lib/cli/src/crewai_cli/run_declarative_flow.py:556
↓ 9 callersMethoddelete_collection
Delete a collection and all its data. Keyword Args: collection_name: Name of the collection to delete. Raises:
lib/crewai/src/crewai/rag/qdrant/client.py:507
↓ 9 callersFunctionevaluate
Classify every record and compute routing and guardrail metrics. Both thresholds are inclusive: a Choice confidence equal to ``min_confidence
scripts/jev_evaluation_runner.py:269
↓ 9 callersFunctionextract_output_from_stream
Extract output from code interpreter response stream. Args: response: Response from code interpreter execution Returns: Extr
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:19
↓ 9 callersMethodfinalize_batch
Finalize batch and return it for sending
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:329
↓ 9 callersFunctionget_after_tool_call_hooks
Get all registered global after_tool_call hooks. Returns: List of registered after hooks
lib/crewai/src/crewai/hooks/tool_hooks.py:287
↓ 9 callersMethodget_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:14
↓ 9 callersFunctionhas_user_declined_tracing
Return True if a person was asked about sharing traces and said no. Only a record with ``trace_consent_asked`` counts. Versions before it also
lib/crewai-core/src/crewai_core/user_data.py:69
↓ 9 callersMethodincrement_tools_errors
Increment the tools errors counter.
lib/crewai/src/crewai/task.py:1248
↓ 9 callersMethodinitialize_batch
Initialize a new trace batch (thread-safe)
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:93
↓ 9 callersMethodinstall
(self, handle: str)
lib/cli/src/crewai_cli/tools/main.py:210
↓ 9 callersFunctionis_current_version_yanked
Return ``(yanked, reason)`` for the currently installed version.
lib/crewai-core/src/crewai_core/version.py:149
↓ 9 callersFunctionis_dmn_mode_enabled
Return True when the enterprise non-interactive mode is enabled.
lib/cli/src/crewai_cli/utils.py:100
↓ 9 callersFunctionis_replaying
Return True if the current context is dispatching a replayed event. Listeners with side effects (checkpoint writes, external API calls that s
lib/crewai/src/crewai/events/event_bus.py:73
↓ 9 callersFunctionis_tool_call_list
Check if a response from the LLM is a list of tool calls. Supports OpenAI, Anthropic, Bedrock, and Gemini formats. Args: response: T
lib/crewai/src/crewai/utilities/agent_utils.py:1339
↓ 9 callersFunctionis_tui_mode
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:86
↓ 9 callersMethodis_url
(self)
lib/crewai-tools/src/crewai_tools/rag/source_content.py:20
↓ 9 callersMethodmain
()
lib/crewai/tests/agents/test_agent.py:3162
↓ 9 callersMethodmark_completed
Mark a todo as completed by step number.
lib/crewai/src/crewai/utilities/planning_types.py:96
↓ 9 callersFunctionparse_inputs_json
Parse a ``--inputs`` JSON object, exiting with a pointed error if invalid.
lib/cli/src/crewai_cli/input_prompt.py:25
↓ 9 callersFunctionprocess_guardrail
Process the guardrail for the agent output. Args: output: The output to validate with the guardrail guardrail: The guardrail to v
lib/crewai/src/crewai/utilities/guardrail.py:118
↓ 9 callersFunctionpush_event_scope
Push an event ID and type onto the scope stack.
lib/crewai/src/crewai/events/event_context.py:171
↓ 9 callersMethodread
()
lib/crewai-files/tests/processing/test_transformers.py:341
↓ 9 callersFunctionregister
Register a global hook for an interception point.
lib/crewai/src/crewai/hooks/dispatch.py:119
↓ 9 callersFunctionresize_image
Resize an image to fit within the specified dimensions. Args: file: The image file to resize. max_width: Maximum width in pixels.
lib/crewai-files/src/crewai_files/processing/transformers.py:19
↓ 9 callersMethodrun
(self)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:247
↓ 9 callersFunctionset_suppress_tracing_messages
Set whether to suppress tracing-related console messages. Args: suppress: True to suppress messages, False to show them. Returns:
lib/crewai/src/crewai/events/listeners/tracing/utils.py:90
↓ 9 callersFunctionshould_suppress_tracing_messages
Check if tracing messages should be suppressed. Returns: True if messages should be suppressed, False otherwise.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:102
↓ 9 callersMethodskill
Return a portable Markdown skill for authoring Flow declarations.
lib/crewai/src/crewai/flow/flow_definition.py:872
↓ 9 callersFunctionstops_run_as
Count the run as stopped for REASON when the block raises, then re-raise.
lib/cli/src/crewai_cli/run_crew.py:887
↓ 9 callersMethodsummarize_messages
Compact a mutable conversation history to fit this model's context window.
lib/crewai/src/crewai/llms/base_llm.py:529
↓ 9 callersMethodsupports_stop_words
Check if the model supports stop words. Note: This method is only used by the litellm fallback path. Native providers override this m
lib/crewai/src/crewai/llm.py:2597
↓ 9 callersMethodupdate
(self, **changes: Any)
lib/crewai/src/crewai/agent/conversation.py:227
↓ 9 callersFunctionvalidate_audio
Validate an audio file against constraints. Args: file: The audio file to validate. constraints: Audio constraints to validate ag
lib/crewai-files/src/crewai_files/processing/validators.py:343
↓ 9 callersMethodvector_index_exists
Check an explicit index or the default name for the requested index type.
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:675
↓ 8 callersMethod__init__
(self, toolkit: CodeInterpreterToolkit, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:388
↓ 8 callersMethod__new__
(cls, *args: Any, **kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:53
↓ 8 callersFunction_agent
( llm: BaseLLM, tools: list[BaseTool] | None = None, max_rpm: int | None = None )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:383
↓ 8 callersMethod_coerce_llm
Resolve a declared or live LLM the way a crew agent's ``llm`` resolves. ``create_llm`` is the shared helper the crew/agent declaration layer
lib/crewai/src/crewai/flow/conversational_mixin.py:1743
↓ 8 callersMethod_common_payload_refinement
Common payload refinement for all tools.
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:284
↓ 8 callersMethod_create_mock_tool
(self, name, description)
lib/crewai-tools/tests/tools/tool_collection_test.py:20
↓ 8 callersFunction_crewai_dependency
(project_root: Path)
lib/cli/tests/test_create_crew.py:2237
↓ 8 callersFunction_crewai_dependency
(project_root: Path)
lib/cli/tests/test_create_flow.py:171
↓ 8 callersMethod_effective_routes
(self, router_config: RouterConfig | None = None)
lib/crewai/src/crewai/flow/conversational_mixin.py:1619
↓ 8 callersFunction_emit_llm_call
Emit one fake ``LLMCallCompletedEvent`` with ``current_flow_id`` pinned to ``flow_id``. Runs in a freshly-copied context so the value the bus
lib/crewai/tests/test_flow_usage_metrics.py:30
↓ 8 callersMethod_evaluate_if_one_is_waiting
Start the evaluation `crewai eval` opened this run for. The evaluation is the errand; the run was the prerequisite. It begins here, o
lib/cli/src/crewai_cli/crew_run_tui.py:1095
↓ 8 callersFunction_fail
(message: str)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2598
↓ 8 callersMethod_features
(self, bm: TraceBatchManager)
lib/crewai/tests/tracing/test_tracing.py:1639
↓ 8 callersMethod_finalize
(self, bm: TraceBatchManager, *, status_code: int = 200)
lib/crewai/tests/tracing/test_tracing.py:1618
↓ 8 callersMethod_flow
(state: dict[str, Any] | None)
lib/crewai/tests/test_flow_conversation.py:2790
↓ 8 callersMethod_get_client
Get or create the Gemini client.
lib/crewai-files/src/crewai_files/uploaders/gemini.py:116
↓ 8 callersMethod_get_client_params
Get OpenAI client parameters.
lib/crewai/src/crewai/llms/providers/openai/completion.py:563
↓ 8 callersFunction_get_machine_id
Stable, privacy-preserving machine fingerprint (cross-platform).
lib/crewai/src/crewai/events/listeners/tracing/utils.py:237
↓ 8 callersFunction_is_cache_valid
Return True if the cache is less than 24 hours old.
lib/crewai-core/src/crewai_core/version.py:49
↓ 8 callersFunction_llm_stop_words_applied
Apply the executor's stop words to the LLM for the duration of one call. Uses :func:`crewai.llms.base_llm.call_stop_override` so the LLM's stop
lib/crewai/src/crewai/utilities/agent_utils.py:355
↓ 8 callersMethod_make_mcp_request
Make a JSON-RPC 2.0 MCP request to Agent Handler.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:73
↓ 8 callersFunction_make_pyproject
( name: str = "my_crew", dependencies: Iterable[str] = ("crewai>=1.14.0",), *, hatchling: bool
lib/cli/tests/deploy/test_validate.py:29
↓ 8 callersMethod_merge_tools
Merge new tools into existing tools list, avoiding duplicates.
lib/crewai/src/crewai/crew.py:1757
↓ 8 callersMethod_oauth2_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:36
↓ 8 callersMethod_on_crew_done
(self, output: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:1041
↓ 8 callersMethod_prepare_generation_config
Prepare generation config for Google Gemini API. Args: system_instruction: System instruction for the model tools: To
lib/crewai/src/crewai/llms/providers/gemini/completion.py:528
↓ 8 callersFunction_record
(dim: int, content: str = "test")
lib/crewai/tests/memory/test_dimension_mismatch.py:24
↓ 8 callersFunction_record_checkpoint_usage
Count a CLI action without recording checkpoint data or blocking execution.
lib/cli/src/crewai_cli/checkpoint_cli.py:16
← previousnext →601–700 of 20,483, ranked by callers