MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,282 in github.com/crewAIInc/crewAI

↓ 4 callersMethod_get_user_context
Extract user context for tracing.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:191
↓ 4 callersFunction_get_video_duration
Get video duration in seconds using av if available. Args: content: Raw video bytes. content_type: Optional MIME type for format
lib/crewai-files/src/crewai_files/processing/validators.py:115
↓ 4 callersMethod_handle_tool_call
Handle a tool call from the LLM. Args: tool_calls: List of tool calls from the LLM available_functions: Dict of avail
lib/crewai/src/crewai/llm.py:1734
↓ 4 callersFunction_import_docling
Import docling submodules lazily and cache the result. Raises: ImportError: If the docling package is not installed.
lib/crewai/src/crewai/knowledge/source/crew_docling_source.py:38
↓ 4 callersMethod_increment_usage_count
Increment the usage count.
lib/crewai/src/crewai/tools/structured_tool.py:450
↓ 4 callersMethod_initialize_batch
Initialize trace batch - auto-enable ephemeral for first-time users. Args: user_context: User context information. ex
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:856
↓ 4 callersFunction_inject_metadata
Inject merged metadata into call details.
lib/crewai/src/crewai/a2a/utils/delegation.py:697
↓ 4 callersMethod_interpolate_inputs
Interpolates the inputs in the tasks and agents.
lib/crewai/src/crewai/crew.py:2167
↓ 4 callersFunction_is_async_embedding_function
Type guard to check if the embedding function is async. Args: func: The embedding function to check. Returns: True if the fu
lib/crewai/src/crewai/rag/qdrant/utils.py:73
↓ 4 callersFunction_is_prerelease
Check if a version string represents a pre-release.
lib/devtools/src/crewai_devtools/cli.py:729
↓ 4 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:89
↓ 4 callersFunction_is_regular_file
Return True for regular files, excluding symlinks to files.
lib/cli/src/crewai_cli/deploy/archive.py:108
↓ 4 callersMethod_make_agent
(self, role: str, llm: BaseLLM)
lib/crewai/tests/agents/test_lite_agent.py:1180
↓ 4 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id.
lib/crewai/tests/tracing/test_tracing.py:1489
↓ 4 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:28
↓ 4 callersFunction_make_started
Build a MethodExecutionStartedEvent with explicit ids/sequence.
lib/crewai/tests/events/test_event_replay.py:16
↓ 4 callersMethod_model_not_found_message
Build a 404 message that says what to do about it. OpenAI's own wording ("This is not a chat model") doesn't make the fix obvious, so
lib/crewai/src/crewai/llms/providers/openai/completion.py:1710
↓ 4 callersMethod_parse_args
Parse and validate the input arguments against the schema. Args: raw_args: The raw arguments to parse, either as a string or dict
lib/crewai/src/crewai/tools/structured_tool.py:349
↓ 4 callersMethod_payload_to_record
Reconstruct a MemoryRecord from a Qdrant payload.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:216
↓ 4 callersMethod_poll_for_token
Poll the token endpoint until authentication completes or times out.
lib/crewai-core/src/crewai_core/auth/oauth2.py:127
↓ 4 callersFunction_prepare_entities
Capture execution context and sync checkpoint fields on each entity. Args: root: List of entities to prepare for serialization.
lib/crewai/src/crewai/state/runtime.py:500
↓ 4 callersMethod_prepare_tools
( self, agent: BaseAgent, task: Task, tools: list[BaseTool] )
lib/crewai/src/crewai/crew.py:1627
↓ 4 callersFunction_preprocess_structured_data
Preprocess structured data to handle common LLM output format issues. Some models (especially Claude on Bedrock) may return array fields as m
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:53
↓ 4 callersMethod_print_current_organization
(self)
lib/cli/src/crewai_cli/tools/main.py:356
↓ 4 callersMethod_process_task_result
(self, task: Task, output: TaskOutput)
lib/crewai/src/crewai/crew.py:1858
↓ 4 callersMethod_refresh_log_panel
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1153
↓ 4 callersFunction_render_json_crew_template
( template_name: str, replacements: dict[str, str] | None = None )
lib/cli/src/crewai_cli/create_json_crew.py:822
↓ 4 callersFunction_resolve_python_ref
( value: Any, source: str | Path, *, expected: str, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:647
↓ 4 callersMethod_resolve_repo_name
Resolve user input to a full repo name, or None if not found.
lib/cli/src/crewai_cli/remote_template/main.py:187
↓ 4 callersMethod_retry_operation
Retry an operation with exponential backoff. Args: operation: Async operation to retry. timeout: Operation timeout in
lib/crewai/src/crewai/mcp/client.py:663
↓ 4 callersMethod_row_to_record
(self, row: dict[str, Any])
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:264
↓ 4 callersMethod_run
Write *content* to *filename*, confined to the tool's sandbox.
lib/crewai-tools/src/crewai_tools/tools/file_writer_tool/file_writer_tool.py:97
↓ 4 callersMethod_run_crew_with_payload
Run the crew with the trigger payload using the run_with_trigger method.
lib/cli/src/crewai_cli/triggers/main.py:124
↓ 4 callersMethod_select_tool
(self, tool_name: str)
lib/crewai/src/crewai/tools/tool_usage.py:759
↓ 4 callersFunction_set_task_fingerprint
Set task identity and fingerprint data on an event.
lib/crewai/src/crewai/events/types/task_events.py:7
↓ 4 callersFunction_setup_before_llm_call_hooks
Setup and invoke before_llm_call hooks for the executor context. Args: executor_context: The executor context to setup the hooks for.
lib/crewai/src/crewai/utilities/agent_utils.py:1801
↓ 4 callersMethod_setup_messages
Set up messages for the agent execution.
lib/crewai/src/crewai/experimental/agent_executor.py:300
↓ 4 callersMethod_should_defer_trace_finalization
Whether this kickoff should defer final flow trace finalization.
lib/crewai/src/crewai/flow/runtime/__init__.py:465
↓ 4 callersMethod_should_observe_steps
Whether to run PlannerObserver LLM calls after each step. Explicit ``observe_steps=False`` disables observation at any effort level.
lib/crewai/src/crewai/experimental/agent_executor.py:543
↓ 4 callersMethod_spinner
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1200
↓ 4 callersFunction_supports_native_structured_outputs
Check if the model supports native structured outputs. Native structured outputs are only available for Claude 4.5 models (Sonnet 4.5, Opus 4
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:72
↓ 4 callersFunction_tar_from_members
Build an in-memory tar archive via `build(tf)` and return it for reading.
lib/crewai/tests/skills/test_cache.py:40
↓ 4 callersMethod_tick
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1182
↓ 4 callersFunction_tool_use_blocks
(blocks: list[Any])
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:171
↓ 4 callersFunction_tool_use_id
(block: _AnthropicToolUseBlock)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:175
↓ 4 callersMethod_try_parse_step_observation
Parse streamed observation JSON and update the exact step it names.
lib/cli/src/crewai_cli/crew_run_tui.py:1889
↓ 4 callersMethod_untrack_key
Remove key tracking for a provider.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:145
↓ 4 callersFunction_uuid_to_point_id
Convert a UUID string to a stable Qdrant point ID. Falls back to hashing for non-UUID strings.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:52
↓ 4 callersMethod_validate_kwargs
Validate keyword arguments against args_schema if present. Args: kwargs: The keyword arguments to validate. Returns:
lib/crewai/src/crewai/tools/base_tool.py:271
↓ 4 callersMethodacall
Call the LLM with the given messages. Args: messages: Input messages for the LLM. Can be a string or list of
lib/crewai/src/crewai/llms/base_llm.py:382
↓ 4 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
↓ 4 callersMethodaget_all_for_provider
Get all cached uploads for a provider. Args: provider: The provider name. Returns: List of cached uploads fo
lib/crewai-files/src/crewai_files/cache/upload_cache.py:383
↓ 4 callersMethodanimateEdgeStyles
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1037
↓ 4 callersMethodanimateNodeOpacity
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1000
↓ 4 callersMethodaquery
Query across all knowledge sources asynchronously. Args: query: List of query strings. results_limit: Maximum number
lib/crewai/src/crewai/knowledge/knowledge.py:167
↓ 4 callersFunctionassert_event_count
( mock_emit, expected_completed_tool_call: int = 0, expected_stream_chunk: int = 0, expected_c
lib/crewai/tests/test_llm.py:482
↓ 4 callersFunctioncall_stream_override
Override streaming for ``llm`` within the current call scope.
lib/crewai/src/crewai/llms/base_llm.py:127
↓ 4 callersFunctionclear_before_tool_call_hooks
Clear all registered global before_tool_call hooks. Returns: Number of hooks that were cleared Example: >>> register_before_
lib/crewai/src/crewai/hooks/tool_hooks.py:349
↓ 4 callersMethodclear_tokens
Remove the stored token file (no-op if absent).
lib/crewai-core/src/crewai_core/token_manager.py:80
↓ 4 callersMethodclear_user_settings
Clear all user settings.
lib/crewai-core/src/crewai_core/settings.py:222
↓ 4 callersFunctionclosest_name
Nearest candidate name to a likely typo, if one is close enough.
lib/cli/src/crewai_cli/input_prompt.py:42
↓ 4 callersMethodconnect
Start the MCP server process and establish connection. Returns: Self for method chaining. Raises: Connection
lib/crewai/src/crewai/mcp/transports/stdio.py:69
↓ 4 callersMethodcontent
Printable text content for chunk-like consumers.
lib/crewai/src/crewai/types/streaming.py:45
↓ 4 callersFunctionconvert_oneof_to_anyof
Convert oneOf to anyOf for OpenAI compatibility. OpenAI's Structured Outputs support anyOf better than oneOf. This recursively converts all o
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:383
↓ 4 callersFunctionconvert_with_instructions
Convert a result string to a Pydantic model or JSON using instructions. Args: result: The result string to convert. model: The Py
lib/crewai/src/crewai/utilities/converter.py:335
↓ 4 callersFunctioncreate_client
Create a client from configuration using the appropriate factory. Args: config: The RAG client configuration. Returns: The c
lib/crewai/src/crewai/rag/factory.py:41
↓ 4 callersFunctioncreate_frame_streaming_state
Create state for a scoped public frame stream.
lib/crewai/src/crewai/utilities/streaming.py:208
↓ 4 callersFunctioncreate_mock_llm
Create a mock LLM that returns a simple response. The mock includes all attributes required by the telemetry system, particularly the 'model'
lib/crewai/tests/telemetry/test_flow_crew_span_integration.py:30
↓ 4 callersFunctioncreate_research_tools
Create research tools for testing structured planning.
lib/crewai/tests/utilities/test_structured_planning.py:316
↓ 4 callersFunctioncreate_resolver
Create a configured FileResolver. Args: provider: Optional provider name to load default threshold from constraints. prefer_uploa
lib/crewai-files/src/crewai_files/resolution/resolver.py:652
↓ 4 callersMethodcrew
(self)
lib/crewai/tests/test_crew.py:4506
↓ 4 callersFunctioncrew_factory
(simple_agent_factory, simple_task_factory)
lib/crewai/tests/test_crew_thread_safety.py:35
↓ 4 callersMethodcrew_status_by_name
(self, project_name: str)
lib/crewai-core/src/crewai_core/plus_api.py:317
↓ 4 callersMethodcrew_status_by_uuid
(self, uuid: str)
lib/crewai-core/src/crewai_core/plus_api.py:322
↓ 4 callersFunctionensure_all_properties_required
Ensure all properties are in the required array for OpenAI strict mode. OpenAI's strict structured outputs require all properties to be listed
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:421
↓ 4 callersMethodenv_context_span
Records the coding tool environment context.
lib/crewai/src/crewai/telemetry/telemetry.py:997
↓ 4 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/reasoning_metrics.py:48
↓ 4 callersMethodexec_module
(self, module: ModuleType)
lib/crewai/src/crewai/cli/__init__.py:39
↓ 4 callersMethodfetch_arxiv_data
( self, search_query: str, max_results: int )
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:78
↓ 4 callersMethodfinalize
()
lib/crewai/tests/tracing/test_tracing.py:976
↓ 4 callersFunctionfind_json_project_file
Return ``stem.jsonc`` or ``stem.json``, preferring JSONC.
lib/crewai/src/crewai/project/json_loader.py:173
↓ 4 callersFunctionformat_sandbox_error
Restate a containment rejection with a tool-specific remedy. Rejections from :func:`validate_file_path` end by advertising the process-wide e
lib/crewai-tools/src/crewai_tools/security/safe_path.py:51
↓ 4 callersMethodfrom_tool_name
Create a MergeAgentHandlerTool from a tool name. Args: tool_name: Name of the tool (e.g., "linear__create_issue")
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:145
↓ 4 callersFunctiongenerate_crew_chat_inputs
Generate the ChatInputs required for the crew by analyzing the tasks and agents. Args: crew: The crew object containing tasks and agents.
lib/crewai/src/crewai/utilities/crew_chat.py:355
↓ 4 callersFunctionget_conversation_messages
Read message history from flow state or the internal fallback buffer.
lib/crewai/src/crewai/flow/conversation.py:97
↓ 4 callersFunctionget_env_context
()
lib/crewai/src/crewai/utilities/env.py:27
↓ 4 callersMethodget_evaluation_results
(self)
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:192
↓ 4 callersMethodget_failed_todos
Get all failed todos. Returns: List of failed TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:169
↓ 4 callersFunctionget_project_name
Return the project name from ``pyproject.toml``.
lib/crewai-core/src/crewai_core/project.py:201
↓ 4 callersMethodget_record
Return a single record by ID, or None if not found. Args: record_id: The unique ID of the record. Returns: T
lib/crewai/src/crewai/memory/storage/backend.py:106
↓ 4 callersMethodget_scope_info
Get information about a scope. Args: scope: The scope path. Returns: ScopeInfo with record count, categories
lib/crewai/src/crewai/memory/storage/backend.py:135
↓ 4 callersFunctionget_supported_content_types
Get supported MIME type prefixes for a provider. Args: provider: Provider name string. api: Optional API variant (e.g., "response
lib/crewai-files/src/crewai_files/processing/constraints.py:363
↓ 4 callersFunctionguardrail
(result: TaskOutput)
lib/crewai/tests/test_task_guardrails.py:53
↓ 4 callersFunctionhandle_output_parser_exception
Handle OutputParserError by updating messages and formatted_answer. Args: e: The OutputParserError that occurred messages: List o
lib/crewai/src/crewai/utilities/agent_utils.py:735
↓ 4 callersMethodhas_tool_outputs
Check if there are any built-in tool outputs.
lib/crewai/src/crewai/llms/providers/openai/completion.py:166
↓ 4 callersMethodinitialize
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1997
↓ 4 callersMethodinitialize_for_first_time_user
Check if this is first time and initialize collection.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:30
↓ 4 callersMethodinvoke
Execute the agent with given inputs. Args: inputs: Input dictionary containing prompt variables. Returns: Di
lib/crewai/src/crewai/agents/crew_agent_executor.py:208
↓ 4 callersFunctionis_inside_event_loop
Check if code is currently running inside an asyncio event loop. This is used to detect when code is being called from within an async context
lib/crewai/src/crewai/utilities/agent_utils.py:147
↓ 4 callersFunctionis_native_tool_calling_unsupported_error
Return whether an error means native tool calling is unavailable.
lib/crewai/src/crewai/utilities/agent_utils.py:1432
← previousnext →801–900 of 13,282, ranked by callers