MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 6 callersFunctionsummarize_messages
Compact ``messages`` in place using ``llm``'s context-window contract.
lib/crewai/src/crewai/llms/context_window.py:299
↓ 6 callersFunctiontool_results
(llm)
lib/crewai/tests/agents/test_agent_state.py:74
↓ 6 callersMethodupdate
Update a record by upserting with the same point ID.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:499
↓ 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
↓ 6 callersMethodvalidate
Validate a file against provider constraints. Args: file: The file to validate. Returns: List of validation
lib/crewai-files/src/crewai_files/processing/processor.py:73
↓ 6 callersFunctionvalidate_image
Validate an image file against constraints. Args: file: The image file to validate. constraints: Image constraints to validate ag
lib/crewai-files/src/crewai_files/processing/validators.py:231
↓ 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:2772
↓ 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:770
↓ 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:3388
↓ 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:248
↓ 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:502
↓ 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:362
↓ 5 callersMethod_clear_streams
Clear the read and write streams.
lib/crewai/src/crewai/mcp/transports/base.py:111
↓ 5 callersMethod_coerce_response_to_pydantic
Validate an LLM response into the configured Pydantic model. Pure post-processing — performs no I/O. Shared by ``to_pydantic`` and ``
lib/crewai/src/crewai/utilities/converter.py:54
↓ 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:184
↓ 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:1104
↓ 5 callersMethod_copy_and_serialize_state
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:3188
↓ 5 callersFunction_count_usage
(feature: str, attributes: dict[str, str] | None = None)
lib/cli/src/crewai_cli/run_crew.py:674
↓ 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:2578
↓ 5 callersMethod_declaration
(**overrides: Any)
lib/crewai/tests/test_flow_conversation.py:3347
↓ 5 callersMethod_delete_secure_file
Delete a secure file (no-op if absent).
lib/crewai-core/src/crewai_core/token_manager.py:294
↓ 5 callersFunction_deploy_doubles
(monkeypatch, *, creates, login)
lib/cli/tests/test_crew_run_tui.py:2760
↓ 5 callersMethod_disconnect
(self)
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:190
↓ 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_encode
(fmt: str, size: tuple[int, int] = (16, 16))
lib/crewai-files/tests/processing/test_images.py:36
↓ 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:1310
↓ 5 callersFunction_fallback_warnings
(caplog: pytest.LogCaptureFixture)
lib/crewai/tests/llms/test_context_window.py:461
↓ 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:1195
↓ 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:3506
↓ 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:232
↓ 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:63
↓ 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:342
↓ 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:2320
↓ 5 callersMethod_invoke_step_callback
Invoke step callback if configured. Args: formatted_answer: Current agent response.
lib/crewai/src/crewai/agents/agent_executor.py:3358
↓ 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:133
↓ 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_load_tokens
Decrypt the token file, or return None if absent.
lib/crewai-core/src/crewai_core/token_manager.py:211
↓ 5 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id.
lib/crewai/tests/tracing/test_tracing.py:976
↓ 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:2291
↓ 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:242
↓ 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:563
↓ 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
↓ 5 callersFunction_parse_agent_response
Parse LLM output as AgentResponse or return raw agent response.
lib/crewai/src/crewai/a2a/wrapper.py:778
↓ 5 callersMethod_process_field_value
(self, response: str, field_type: type | None)
lib/crewai/src/crewai/utilities/training_converter.py:90
↓ 5 callersFunction_prompt_can_be_shown
Could a question about traces be put to somebody at all? Three cases where it cannot: a suite under test, a host that asked for tracing messa
lib/crewai/src/crewai/events/listeners/tracing/utils.py:579
↓ 5 callersMethod_reasoning_effort_none_params
Params with an explicit `reasoning_effort="none"`, or None if already set. Removing the key is not enough: absence means "use the server defa
lib/crewai/src/crewai/llms/providers/openai/completion.py:2225
↓ 5 callersMethod_record
(cls)
lib/crewai/tests/hooks/test_interception_conformance.py:292
↓ 5 callersMethod_rejects_reasoning_effort_none
Whether a 400 is the model refusing the `reasoning_effort="none"` retry. GPT-6 Astra and GPT-6.1 Sol offer "none" in the tools 400 and then
lib/crewai/src/crewai/llms/providers/openai/completion.py:2076
↓ 5 callersMethod_resolve_external
Resolve an HTTPS MCP server URL into tools.
lib/crewai/src/crewai/mcp/tool_resolver.py:237
↓ 5 callersMethod_resolve_tool_names
(mock_client_class, resolver, config)
lib/crewai/tests/mcp/test_tool_resolver_native.py:106
↓ 5 callersMethod_resolved
(llm: Any)
lib/crewai/tests/test_flow_conversation.py:2918
↓ 5 callersMethod_restore_config
(self, tmp_path: Path, saved: str)
lib/crewai/tests/test_checkpoint.py:977
↓ 5 callersFunction_run
Build a ``_ScriptedFlow``, attach ``script``, kickoff. Returns the flow.
lib/crewai/tests/test_flow_usage_metrics.py:90
↓ 5 callersFunction_run
Run the command with Claude Code replaced by canned answers keyed by project dir.
lib/devtools/tests/test_agents_md_eval.py:156
↓ 5 callersFunction_run_gate
( *, title: str, body: str, issue_payloads: dict[int, dict], author_permission: str | None
lib/crewai/tests/ci/test_ftc_require_issue.py:28
↓ 5 callersMethod_run_once
( self, tmp_path: Path, second_callback: Any, **agent_kwargs: Any )
lib/crewai/tests/test_checkpoint.py:982
↓ 5 callersMethod_safe_error_type
The exception's class name, or None if the argument is not one. Takes the exception *class* rather than a string so that ``str(error)``
lib/crewai/src/crewai/telemetry/telemetry.py:1069
↓ 5 callersFunction_scope_prefix_filter
r"""Build a predicate matching scopes that start with ``prefix``. ``\``, ``%`` and ``_`` in the prefix are escaped so they match literally; o
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:55
↓ 5 callersFunction_serialize_static_value
( value: Any, path: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:137
↓ 5 callersMethod_set_streams
Set the read and write streams. Args: read: Read stream. write: Write stream.
lib/crewai/src/crewai/mcp/transports/base.py:100
↓ 5 callersFunction_sql_str
Escape a value for use inside a single-quoted SQL string literal.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:44
↓ 5 callersMethod_standard_no_param_error_message
Display a standard error message when no UUID or project name is available.
lib/cli/src/crewai_cli/deploy/main.py:329
↓ 5 callersMethod_store_execution_log
( self, task: Task, output: TaskOutput, task_index: int, was_replayed:
lib/crewai/src/crewai/crew.py:1507
↓ 5 callersFunction_structured_output_agent
()
lib/crewai/tests/test_task_guardrails.py:791
← previousnext →1,101–1,200 of 20,483, ranked by callers