Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
↓ 1 callers
Function
_extract_files_from_inputs
Extract file objects from inputs dict. Scans inputs for FileInput objects (ImageFile, TextFile, etc.) and extracts them into a separate dict.
lib/crewai/src/crewai/crews/utils.py:214
↓ 1 callers
Method
_extract_html
Strip HTML bytes down to visible text.
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:459
↓ 1 callers
Method
_extract_init_params
(tool_class: type[BaseTool])
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:171
↓ 1 callers
Function
_extract_init_params_schema
Extract JSON Schema for the tool's __init__ parameters, filtering out base fields.
lib/crewai/src/crewai/utilities/project_utils.py:576
↓ 1 callers
Function
_extract_input_placeholders
(text: str | None)
lib/cli/src/crewai_cli/run_crew.py:190
↓ 1 callers
Method
_extract_json_from_text
Extract valid JSON from text that may contain markdown or other formatting. This method provides a comprehensive approach to extracting JSON
lib/crewai/src/crewai/agents/agent_adapters/base_converter_adapter.py:103
↓ 1 callers
Method
_extract_metadata
Retain notebook versions and valid language and kernel names.
lib/crewai-tools/src/crewai_tools/rag/loaders/notebook_loader.py:64
↓ 1 callers
Method
_extract_missing_api_key
Pull 'FOO_API_KEY' out of '... FOO_API_KEY is required ...'.
lib/cli/src/crewai_cli/deploy/validate.py:1112
↓ 1 callers
Function
_extract_oracle_error_code
(exc: Exception)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:441
↓ 1 callers
Method
_extract_package_deps_from_model_fields
( model_fields: dict[str, FieldInfo], )
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:148
↓ 1 callers
Method
_extract_params
(args_schema_field: dict[str, Any] | None)
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:95
↓ 1 callers
Method
_extract_pdf
Extract text from PDF bytes, page by page.
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:349
↓ 1 callers
Method
_extract_pdf_url
(self, entry: ET.Element)
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:130
↓ 1 callers
Method
_extract_provider
Extract provider from LLM model name. Returns: Provider name (e.g., 'openai', 'anthropic', etc.)
lib/crewai/src/crewai/utilities/internal_instructor.py:115
↓ 1 callers
Method
_extract_provider
Extract provider from model string. Args: model: Model string (e.g., 'openai/gpt-4' or 'gpt-4') Returns: Pro
lib/crewai/src/crewai/llms/base_llm.py:1199
↓ 1 callers
Function
_extract_response_schema
Extract response schema from message parts metadata. The client may include a JSON schema in TextPart metadata to specify the expected respon
lib/crewai/src/crewai/a2a/utils/task.py:229
↓ 1 callers
Method
_extract_router_intent
(self, response: Any, intent_field: str)
lib/crewai/src/crewai/flow/conversational_mixin.py:1524
↓ 1 callers
Function
_extract_run_params_schema
Extract JSON Schema for the tool's run parameters from args_schema field.
lib/crewai/src/crewai/utilities/project_utils.py:535
↓ 1 callers
Method
_extract_scores
( self, agent_evaluations: dict[str, AgentAggregatedEvaluationResult] )
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:114
↓ 1 callers
Function
_extract_single_tool_metadata
Extract metadata from a single tool class.
lib/crewai/src/crewai/utilities/project_utils.py:450
↓ 1 callers
Method
_extract_steps
Extract individual steps from multi-step instructions.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:358
↓ 1 callers
Method
_extract_text_from_response
Extract text content from Gemini response without triggering warnings. This method directly accesses the response parts to extract text conte
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1528
↓ 1 callers
Function
_extract_thought
Extract the thought portion from the text. Args: text: The full agent output text. Returns: The extracted thought string.
lib/crewai/src/crewai/agents/parser.py:131
↓ 1 callers
Function
_extract_tool_call_info
Extract tool call information from an LLM stream chunk event. Args: event: The LLM stream chunk event to process. Returns: A
lib/crewai/src/crewai/utilities/streaming.py:79
↓ 1 callers
Function
_extract_tool_metadata_from_init
Load module from init file and extract metadata from valid tool classes.
lib/crewai/src/crewai/utilities/project_utils.py:417
↓ 1 callers
Method
_extract_tool_result_text
(content: list[Any])
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:275
↓ 1 callers
Method
_extract_video_id
Extract video ID from various YouTube URL formats.
lib/crewai-tools/src/crewai_tools/rag/loaders/youtube_video_loader.py:106
↓ 1 callers
Method
_extract_video_id
Extract video ID from YouTube URL.
lib/crewai-tools/src/crewai_tools/rag/loaders/youtube_channel_loader.py:151
↓ 1 callers
Method
_extract_xlsx
Extract cell values from XLSX bytes, sheet by sheet, as CSV.
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:393
↓ 1 callers
Method
_fetch_actions
Fetch available actions from the API.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:293
↓ 1 callers
Function
_fetch_agent_card_cached
Cached sync version of fetch_agent_card.
lib/crewai/src/crewai/a2a/utils/agent_card.py:203
↓ 1 callers
Method
_fetch_available_tables
(self)
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:422
↓ 1 callers
Method
_fetch_from_url
Download a PDF from a URL and return its bytes. The content stays in memory rather than going to a temporary file: the whole body has
lib/crewai-tools/src/crewai_tools/rag/loaders/pdf_loader.py:31
↓ 1 callers
Function
_fetch_litellm_data
Read the cached LiteLLM feed, fetching it once if the cache is cold.
lib/cli/src/crewai_cli/model_catalog.py:390
↓ 1 callers
Method
_fetch_oauth_config
(self, enterprise_url: str)
lib/cli/src/crewai_cli/enterprise/main.py:40
↓ 1 callers
Method
_fetch_token
Fetch OAuth2 access token using client credentials flow. Args: client: HTTP client for making token request. Raises:
lib/crewai/src/crewai/a2a/auth/client_schemes.py:375
↓ 1 callers
Function
_filter_components
Strip components whose type is not in *allowed* from a surfaceUpdate.
lib/crewai/src/crewai/a2a/extensions/a2ui/client_extension.py:397
↓ 1 callers
Function
_filter_components_v09
Strip v0.9 components whose type is not in *allowed* from updateComponents. v0.9 components use a flat structure where ``component`` is a type-na
lib/crewai/src/crewai/a2a/extensions/a2ui/client_extension.py:426
↓ 1 callers
Method
_filtered_streaming_text
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:2361
↓ 1 callers
Function
_filters_as_text
A filter's values are matched as the sheet shows them, but a model writes a number as a number ({"values": [70]}).
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:232
↓ 1 callers
Function
_finalize
Sort newest-first, dedupe, relabel with curated names, and truncate.
lib/cli/src/crewai_cli/model_catalog.py:421
↓ 1 callers
Method
_finalize_conversational_session
(self, *, discard: bool = False)
lib/cli/src/crewai_cli/crew_run_tui.py:1121
↓ 1 callers
Method
_finalize_session_trace_events
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1783
↓ 1 callers
Method
_find
(self, sandbox: Any, path: str, pattern: str)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:433
↓ 1 callers
Method
_find
The spreadsheet ``file`` names. Only the agent's own spreadsheets are found: any other name or URL is not fetched.
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:127
↓ 1 callers
Function
_find_cel_eval_error
(value: Any)
lib/crewai/src/crewai/flow/expressions.py:66
↓ 1 callers
Function
_find_compatible_modes
Find compatible MIME types between client and server. Returns modes in client preference order.
lib/crewai/src/crewai/a2a/utils/content_type.py:135
↓ 1 callers
Function
_find_crews_folder
Locate the flow package's crews folder from ``[project].name``. The package directory follows ``[project].name``, not the folder the project
lib/cli/src/crewai_cli/add_crew_to_flow.py:29
↓ 1 callers
Method
_find_files
Find all files in directory matching criteria.
lib/crewai-tools/src/crewai_tools/rag/loaders/directory_loader.py:89
↓ 1 callers
Function
_find_json_project_file
(directory: Path, stem: str)
lib/cli/src/crewai_cli/deploy/validate.py:147
↓ 1 callers
Function
_find_matching_close_paren
Find the matching close paren, skipping string literals.
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:150
↓ 1 callers
Method
_find_task_index
(task_id: str, stored_outputs: list[Any])
lib/crewai/src/crewai/crew.py:2051
↓ 1 callers
Function
_find_tool_class
Look up a tool class by name from the ``crewai_tools`` package.
lib/crewai/src/crewai/project/json_loader.py:1971
↓ 1 callers
Method
_find_triggered_methods
( self, trigger_method: FlowMethodName, router_only: bool )
lib/crewai/src/crewai/flow/runtime/__init__.py:3328
↓ 1 callers
Method
_finish_execution
(self, final_string_output: str)
lib/crewai/src/crewai/crew.py:2323
↓ 1 callers
Function
_first_selectable_index
(total: int, separator_indices: set[int])
lib/cli/src/crewai_cli/tui_picker.py:470
↓ 1 callers
Method
_first_task_checkpoint
Return the checkpoint written after the first task completed.
lib/crewai/tests/test_checkpoint.py:971
↓ 1 callers
Function
_fit_response_model
Return ``text``, or the JSON object inside it, as ``model`` if it fits.
lib/crewai/src/crewai/agents/agent_executor.py:151
↓ 1 callers
Function
_fit_span
``span`` with its largest string attributes cut until it fits a request. Each attribute is bounded on its own, so only a span carrying many large
lib/crewai/src/crewai/telemetry/tracing/grants.py:44
↓ 1 callers
Function
_flatten_pages
(node: Any)
scripts/docs/prefix_version_paths.py:260
↓ 1 callers
Function
_flatten_slots
Convert a list of DayOpeningHours dicts into simplified entries.
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/brave_local_pois_tool.py:21
↓ 1 callers
Method
_flow
(builtin: list[str])
lib/crewai/tests/test_flow_conversation.py:3113
↓ 1 callers
Function
_flow_definition_from
( flow_or_definition: Flow[Any] | type[Flow[Any]] | FlowDefinition, )
lib/crewai/src/crewai/flow/visualization/builder.py:149
↓ 1 callers
Function
_flow_definition_validation_error
( flow_class: type, exc: ValidationError )
lib/crewai/src/crewai/flow/dsl/_utils.py:489
↓ 1 callers
Function
_flow_is_conversational
True if the declaration turns on conversational mode. Fails closed: a flow we cannot inspect runs the normal single-kickoff path rather than
lib/cli/src/crewai_cli/run_declarative_flow.py:246
↓ 1 callers
Function
_flow_method_types
Map each declarative method name to its ``call`` type (crew/agent/…). Best-effort: the STEPS panel shows this as a dim label. Method events don't
lib/cli/src/crewai_cli/run_declarative_flow.py:276
↓ 1 callers
Method
_flow_owns_trace_batch
True when an in-flight conversational flow already owns the trace batch.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:841
↓ 1 callers
Function
_flow_state_defaults
Declared state defaults (``state.default``) from the flow definition.
lib/cli/src/crewai_cli/run_declarative_flow.py:454
↓ 1 callers
Function
_flow_state_schema
Return the flow's state JSON schema, or ``None`` for dict/plain state.
lib/cli/src/crewai_cli/run_declarative_flow.py:439
↓ 1 callers
Function
_flush_std_streams
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:1357
↓ 1 callers
Function
_folded
(series: Column)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:477
↓ 1 callers
Method
_format_available_tools
Formats the available tools for inclusion in the prompt. Returns: Comma-separated list of tool names.
lib/crewai/src/crewai/utilities/reasoning_handler.py:540
↓ 1 callers
Method
_format_bytes_block
Format block with inline bytes source. Args: content_type: MIME type. file_bytes: Raw file bytes. name: F
lib/crewai-files/src/crewai_files/formatting/bedrock.py:140
↓ 1 callers
Function
_format_changelog_date
Format today's date for a changelog entry in the given language.
lib/devtools/src/crewai_devtools/cli.py:522
↓ 1 callers
Function
_format_listen_condition
(condition: FlowDefinitionCondition | None)
lib/crewai/src/crewai/flow/flow_definition.py:905
↓ 1 callers
Method
_format_messages
(messages: Sequence[Mapping[str, Any]])
lib/crewai/src/crewai/flow/conversational_mixin.py:1690
↓ 1 callers
Method
_format_output
(self, result: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/parallel_tools/parallel_search_tool.py:118
↓ 1 callers
Method
_format_paper_result
(self, paper: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:140
↓ 1 callers
Method
_format_record_detail
Format a full MemoryRecord as Rich markup for the detail view. Args: record: A MemoryRecord instance. context_line: O
lib/cli/src/crewai_cli/memory_tui.py:226
↓ 1 callers
Function
_format_result
(result: Any)
lib/cli/src/crewai_cli/run_declarative_flow.py:620
↓ 1 callers
Method
_format_result
Helper to format results consistently.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:568
↓ 1 callers
Method
_format_results
Format query results as a readable string.
lib/crewai-tools/src/crewai_tools/tools/databricks_query_tool/databricks_query_tool.py:170
↓ 1 callers
Method
_format_s3_block
Format block with S3 location source. Args: content_type: MIME type. file_uri: S3 URI. name: File name fo
lib/crewai-files/src/crewai_files/formatting/bedrock.py:89
↓ 1 callers
Function
_format_scope_info
Format ScopeInfo with Rich markup.
lib/cli/src/crewai_cli/memory_tui.py:18
↓ 1 callers
Function
_format_size
Format byte size to human-readable string.
lib/crewai-files/src/crewai_files/processing/validators.py:150
↓ 1 callers
Function
_format_validation_error
(path: str | Path, exc: ValidationError)
lib/crewai/src/crewai/project/json_loader.py:1854
↓ 1 callers
Function
_from_litellm
Build chat-model entries for ``provider_key`` from the LiteLLM feed.
lib/cli/src/crewai_cli/model_catalog.py:353
↓ 1 callers
Function
_from_vendor
Fetch models from the vendor. Returns the model list on a successful fetch — **including an empty list**, which is meaningful (e.g. a reachab
lib/cli/src/crewai_cli/model_catalog.py:187
↓ 1 callers
Method
_function_calling
( self, tool_string: str )
lib/crewai/src/crewai/tools/tool_usage.py:860
↓ 1 callers
Function
_gate_passed
(finished: dict[str, Any])
lib/cli/src/crewai_cli/experimental/eval_crew.py:496
↓ 1 callers
Method
_generate_description
Deprecated hook kept for backward compatibility; does nothing. Historically this rewrote the public ``description`` field at construc
lib/crewai/src/crewai/tools/base_tool.py:531
↓ 1 callers
Method
_generate_detailed_description
Generate detailed description for nested schema structures.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:332
↓ 1 callers
Function
_generate_doc
Generate a new documentation page. Args: reason: Why this doc is needed. existing_content: Existing doc content for style referen
lib/devtools/src/crewai_devtools/docs_check.py:194
↓ 1 callers
Method
_generate_output_path
Generates output path based on input path and format.
lib/crewai-tools/src/crewai_tools/tools/files_compressor_tool/files_compressor_tool.py:93
↓ 1 callers
Method
_generate_system_prompt_appendix
Generate an appendix for the system prompt to enforce structured output. Creates instructions that are appended to the system prompt to guide
lib/crewai/src/crewai/agents/agent_adapters/langgraph/structured_output_converter.py:44
↓ 1 callers
Function
_generate_where_clause
( filter_spec: dict[str, Any], bind_variables: list[Any] )
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:378
↓ 1 callers
Method
_get_agent_knowledge
Safely retrieve knowledge source content from the task's agent. Args: task: The task containing an agent with potential knowledge
lib/crewai/src/crewai/utilities/planning_handler.py:121
↓ 1 callers
Method
_get_agent_to_use
(self, task: Task)
lib/crewai/src/crewai/crew.py:1742
↓ 1 callers
Function
_get_all_methods
Return all non-dunder callable attributes (methods). Args: self: Instance to inspect for callable attributes. Returns: Dicti
lib/crewai/src/crewai/project/crew_base.py:399
↓ 1 callers
Function
_get_baseline_filepath_fallback
()
lib/crewai/src/crewai/experimental/evaluation/testing.py:67
← previous
next →
3,501–3,600 of 19,264, ranked by callers