MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 6 callersMethodon_button_pressed
(self, event: Button.Pressed)
lib/cli/src/crewai_cli/crew_run_tui.py:1764
↓ 6 callersFunctionoperation
()
lib/crewai/tests/llms/test_retry.py:116
↓ 6 callersFunctionpackage
A workbook in ``folder`` whose ``_rels/.rels`` points there, holding ``sheets`` by name; ``decoy`` adds a one-cell workbook at the usual ``xl/``.
lib/crewai-files/tests/spreadsheets/test_reading.py:660
↓ 6 callersFunctionplan_naming
Crew planning writes a plan that tells the agent to open ``url``.
lib/crewai/tests/agents/test_agent_spreadsheets.py:672
↓ 6 callersMethodrecall
Recall relevant memories. Delegates to this flow's memory. Args: query: Natural language query. **kwargs: Passed to m
lib/crewai/src/crewai/flow/runtime/__init__.py:1005
↓ 6 callersFunctionregister_scoped
Register a hook scoped to the current :func:`scoped_hooks` context.
lib/crewai/src/crewai/hooks/dispatch.py:177
↓ 6 callersMethodrender_template
Interpolate ``${...}`` expressions inside nested strings as CEL. A string that is exactly one ``${...}`` keeps the evaluated value's
lib/crewai/src/crewai/flow/expressions.py:291
↓ 6 callersMethodreset
Reset all settings to default values.
lib/crewai-core/src/crewai_core/settings.py:239
↓ 6 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:15
↓ 6 callersFunctionrestore_event_scope
Restore the event scope stack from a checkpoint.
lib/crewai/src/crewai/events/event_context.py:136
↓ 6 callersFunctionresume_task_scope
Push the latest recorded ``task_started`` scope for a task. Args: task_id: The task identifier to look up in the active event record.
lib/crewai/src/crewai/events/event_context.py:141
↓ 6 callersMethodrun
(self)
lib/cli/tests/test_run_crew.py:765
↓ 6 callersMethodrun
( self, crew: Crew | None = None, agents: list[Agent] | list[BaseAgent] | None = None,
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:32
↓ 6 callersFunctionscoped_hooks
Enter an execution-scoped hook registry. Hooks registered inside this context (via :func:`register_scoped`) run after global hooks and are di
lib/crewai/src/crewai/hooks/dispatch.py:160
↓ 6 callersMethodset_cache_handler
Set the cache handler for the agent. Args: cache_handler: An instance of the CacheHandler class.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:800
↓ 6 callersFunctionset_last_event_id
Set the ID of the last emitted event. Args: event_id: The event_id to set as the last emitted event.
lib/crewai/src/crewai/events/event_context.py:91
↓ 6 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:89
↓ 6 callersMethodset_tracer
Mark telemetry live (idempotent). Deliberately does not install a global TracerProvider. Doing so made every OTel-instrumented librar
lib/crewai-core/src/crewai_core/telemetry.py:377
↓ 6 callersFunctionshould_suppress_console_output
Return True if console output should currently be suppressed.
lib/crewai-core/src/crewai_core/printer.py:27
↓ 6 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:101
↓ 6 callersMethodshutdown
Gracefully shutdown the event loop and wait for all tasks to finish. Args: wait: If True, wait for all pending tasks to complete
lib/crewai/src/crewai/events/event_bus.py:897
↓ 6 callersFunctionsleep
(seconds: float)
lib/cli/tests/experimental/test_eval_crew.py:657
↓ 6 callersMethodstart
(self)
lib/crewai/tests/tools/test_structured_tool.py:397
↓ 6 callersMethodstart_deployment_span
Records redeploying an existing crew (``crewai deploy push``). Also emits ``deploy:pushed`` so that deployments are countable from the
lib/crewai-core/src/crewai_core/telemetry.py:425
↓ 6 callersMethodstream_events
Run the LLM call and stream scoped public ``StreamFrame`` events.
lib/crewai/src/crewai/llms/base_llm.py:578
↓ 6 callersMethodsubscribe
Iterate over frames, optionally filtered by channel.
lib/crewai/src/crewai/types/streaming.py:240
↓ 6 callersFunctionsummarize_messages
Compact ``messages`` in place using ``llm``'s context-window contract.
lib/crewai/src/crewai/llms/context_window.py:297
↓ 6 callersMethodto_dict
Serialize context to a dictionary for persistence. Returns: Dictionary representation suitable for JSON serialization.
lib/crewai/src/crewai/flow/async_feedback/types.py:104
↓ 6 callersFunctiontrain_crew
Train the crew by running a command in the UV environment. Args: n_iterations (int): The number of iterations to train the crew.
lib/cli/src/crewai_cli/train_crew.py:6
↓ 6 callersMethodupdate
Update a record by upserting with the same point ID.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:499
↓ 6 callersFunctionupdate_user_data
Atomically read-modify-write the user data file under a file lock. Args: updates: Key-value pairs to merge into the existing user data.
lib/crewai-core/src/crewai_core/user_data.py:54
↓ 6 callersMethoduser_blocks
Content blocks of every ``user`` turn in a recorded request.
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:145
↓ 5 callersMethod__del__
Ensure cleanup on deletion.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:252
↓ 5 callersMethod_agent
()
lib/crewai/tests/hooks/test_interception_conformance.py:283
↓ 5 callersFunction_amp_cannot_resolve
(monkeypatch, *missing)
lib/crewai/tests/agents/test_agent.py:2768
↓ 5 callersFunction_amp_client
The AMP to ask, and whether the saved login goes with it. A project's `.env` may point `crewai eval` at another AMP — that is how a self-host
lib/cli/src/crewai_cli/experimental/eval_crew.py:755
↓ 5 callersMethod_append_message_to_state
Add message to state conversation history. Args: text: Message content. role: Message role (default: assistant).
lib/crewai/src/crewai/agents/agent_executor.py:3387
↓ 5 callersMethod_atomic_create_secure_file
Create a file only if it doesn't already exist.
lib/crewai-core/src/crewai_core/token_manager.py:109
↓ 5 callersFunction_bomb
A zip of ``members`` deflated copies of ``payload``; with ``declared``, every header claims that uncompressed size instead of the real one.
lib/crewai-files/tests/spreadsheets/test_reading.py:153
↓ 5 callersFunction_boto_modules
Build minimal boto modules for exercising the lazy imports.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:12
↓ 5 callersMethod_build
( self, location: Path, second_callback: Any, **agent_kwargs: Any )
lib/crewai/tests/test_checkpoint.py:942
↓ 5 callersFunction_build_conversation_messages
Build a realistic multi-turn conversation for summarization tests.
lib/crewai/tests/utilities/test_summarize_integration.py:18
↓ 5 callersMethod_build_mcp_config_from_dict
Convert a config dict from crewai-oauth into an MCPServerConfig.
lib/crewai/src/crewai/mcp/tool_resolver.py:508
↓ 5 callersFunction_byte_len
(s: str)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:506
↓ 5 callersMethod_call_with_function
Calls the LLM with function calling to get a plan. Args: prompt: The prompt to send to the LLM. plan_type: The type o
lib/crewai/src/crewai/utilities/reasoning_handler.py:351
↓ 5 callersMethod_change
(self, record: DeliveryRecord, status: Any, reason: str = "")
lib/crewai/src/crewai/experimental/flow_replies.py:132
↓ 5 callersFunction_chunk_messages
Greedily pack rendered summary requests, splitting only oversized messages.
lib/crewai/src/crewai/llms/context_window.py:360
↓ 5 callersMethod_clear_streams
Clear the read and write streams.
lib/crewai/src/crewai/mcp/transports/base.py:111
↓ 5 callersFunction_common_attributes
Build the process-wide span attributes with a stubbed project id.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:522
↓ 5 callersFunction_completed_event
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:54
↓ 5 callersFunction_configuration_of
(llm: Any)
lib/crewai/tests/test_llm_overlay.py:61
↓ 5 callersMethod_connect
(self)
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:174
↓ 5 callersMethod_conversation_flow_definition
Return the definition that describes this flow's methods. Prefers the instance definition, which is the loaded declaration for a flow
lib/crewai/src/crewai/flow/conversational_mixin.py:1070
↓ 5 callersMethod_copy_and_serialize_state
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:3173
↓ 5 callersFunction_create_sqlite_checkpoint
( db_path: str, checkpoint_id: str | None = None, data: str | None = None, tasks_completed: in
lib/crewai/tests/test_checkpoint_cli.py:94
↓ 5 callersMethod_create_temp_json_file
Helper to write JSON data to a temporary file and return its path.
lib/crewai-tools/tests/rag/test_json_loader.py:13
↓ 5 callersMethod_crew
()
lib/crewai/tests/hooks/test_interception_conformance.py:437
↓ 5 callersMethod_declaration
(router: dict[str, Any])
lib/crewai/tests/test_flow_conversation.py:2575
↓ 5 callersMethod_declaration
(**overrides: Any)
lib/crewai/tests/test_flow_conversation.py:3344
↓ 5 callersMethod_delete_secure_file
Delete a secure file (no-op if absent).
lib/crewai-core/src/crewai_core/token_manager.py:155
↓ 5 callersFunction_deploy_doubles
(monkeypatch, *, creates, login)
lib/cli/tests/test_crew_run_tui.py:2538
↓ 5 callersMethod_disconnect
(self)
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:180
↓ 5 callersMethod_do_write
Execute a single table write with retry on commit conflicts. Caller must already hold ``store_lock(self._lock_name)``.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:153
↓ 5 callersMethod_embed_texts
(self, texts: list[str])
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:580
↓ 5 callersFunction_entry
Build a rankable catalog entry. ``sort`` is a comparable tuple ``(created, date_int, version_tuple)`` so a real vendor timestamp wins, then a
lib/cli/src/crewai_cli/model_catalog.py:440
↓ 5 callersMethod_export_output
( self, result: str | BaseModel )
lib/crewai/src/crewai/task.py:1288
↓ 5 callersFunction_fallback_warnings
(caplog: pytest.LogCaptureFixture)
lib/crewai/tests/llms/test_context_window.py:457
↓ 5 callersMethod_fetch_templates
Fetch all template repos from the GitHub org.
lib/cli/src/crewai_cli/remote_template/main.py:154
↓ 5 callersFunction_field_errors
( data: dict[str, Any], allowed_fields: set[str], runtime_fields: set[str], source: str | Path
lib/crewai/src/crewai/project/json_loader.py:1193
↓ 5 callersFunction_finding
(validator: DeployValidator, code: str)
lib/cli/tests/deploy/test_validate.py:342
↓ 5 callersMethod_flow
(reply: str = "Declared reply.")
lib/crewai/tests/test_flow_conversation.py:3503
↓ 5 callersMethod_format_messages_for_provider
Format messages according to provider requirements. Args: messages: List of message dictionaries with 'role' and 'content' keys.
lib/crewai/src/crewai/llm.py:2471
↓ 5 callersMethod_generate_embedding
(self, text: str)
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:222
↓ 5 callersMethod_get_async_client
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:484
↓ 5 callersMethod_get_custom_llm_provider
Derives the custom_llm_provider from the model string. - For example, if the model is "openrouter/deepseek/deepseek-chat", returns "o
lib/crewai/src/crewai/llm.py:2539
↓ 5 callersMethod_get_domain
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:37
↓ 5 callersMethod_get_or_create_event
Get or create a threading.Event for the given event_id (must hold _span_lock).
lib/crewai/src/crewai/telemetry/tracing/context.py:64
↓ 5 callersMethod_get_or_create_key
Get or create the encryption key.
lib/crewai-core/src/crewai_core/token_manager.py:32
↓ 5 callersMethod_get_responses_delegate
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:266
↓ 5 callersMethod_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:339
↓ 5 callersMethod_handle_emit_call_events
Handle the events for the LLM call. Args: response (str): The response from the LLM call. call_type (str): The type o
lib/crewai/src/crewai/llm.py:2308
↓ 5 callersFunction_http_get_json
GET ``url`` and return parsed JSON, with a short timeout and TLS verify.
lib/cli/src/crewai_cli/model_catalog.py:543
↓ 5 callersFunction_humanize
Derive a readable label from a raw model id. Best-effort only — vendor display names and the curated label map take precedence. Drops embedde
lib/cli/src/crewai_cli/model_catalog.py:505
↓ 5 callersFunction_infer_result_schema_from_callable
( func: Callable[..., Any], )
lib/crewai/src/crewai/tools/structured_tool.py:45
↓ 5 callersMethod_interpolate_inputs
Interpolates the inputs in the tasks and agents.
lib/crewai/src/crewai/crew.py:2311
↓ 5 callersMethod_invoke_step_callback
Invoke step callback if configured. Args: formatted_answer: Current agent response.
lib/crewai/src/crewai/agents/agent_executor.py:3357
↓ 5 callersFunction_is_pydantic_model_class
Check if an object is a Pydantic model class. This distinguishes between Pydantic model classes that support structured outputs (have model_j
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:130
↓ 5 callersFunction_leftovers
Anything in .crewai that is neither the record nor its lock file.
lib/crewai/tests/telemetry/test_last_run.py:14
↓ 5 callersFunction_linear_record
Build a simple chain: e0 → e1 → e2 → ... with previous_event_id.
lib/crewai/tests/test_event_record.py:19
↓ 5 callersFunction_llm_response
(llm: BaseLLM, *, use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:87
↓ 5 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id.
lib/crewai/tests/tracing/test_tracing.py:957
↓ 5 callersFunction_make_checkpoint_data
( tasks_completed: int = 2, tasks_total: int = 4, trigger: str = "task_completed", branch: str
lib/crewai/tests/test_checkpoint_cli.py:32
↓ 5 callersFunction_make_dict_flow
()
lib/crewai/tests/test_flow.py:2223
↓ 5 callersMethod_mark_batch_as_failed
Mark a trace batch as failed, routing to the correct endpoint.
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:240
↓ 5 callersMethod_mark_todo_failed
( self, step_number: int, result: str | None = None, error: str | None = None,
lib/crewai/src/crewai/agents/agent_executor.py:696
↓ 5 callersFunction_normalize_snowflake_base_url
Return a Snowflake Cortex REST OpenAI-compatible base URL.
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:21
↓ 5 callersFunction_normalize_source
Convert raw input to appropriate source type.
lib/crewai-files/src/crewai_files/core/sources.py:562
↓ 5 callersFunction_object_ref
Format a class or instance as the canonical ``module:qualname`` ref.
lib/crewai/src/crewai/flow/flow_definition.py:73
↓ 5 callersFunction_only_span
The single exported span with ``name``, failing loudly if not unique.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:86
↓ 5 callersFunction_oracle_env_config
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool_integration.py:14
← previousnext →1,001–1,100 of 19,482, ranked by callers