MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 13 callersFunctionexecute_single_native_tool_call
Execute a single native tool call with full lifecycle management. Handles: arg parsing, tool lookup, max-usage check, cache read/write, befor
lib/crewai/src/crewai/utilities/agent_utils.py:1517
↓ 13 callersMethodfrom_content
(content: str | Path | None = None)
lib/crewai-tools/src/crewai_tools/rag/data_types.py:103
↓ 13 callersMethodfrom_provider_dict
Normalize a provider's raw usage dict into a ``UsageMetrics``. Accepts the full set of key aliases CrewAI providers emit: ``prompt_to
lib/crewai/src/crewai/types/usage_metrics.py:151
↓ 13 callersMethodgenerate
(self)
lib/crewai/tests/telemetry/test_flow_telemetry.py:317
↓ 13 callersMethodget_actions
Get the actions available for the selected applications.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:242
↓ 13 callersFunctionget_constraints_for_provider
Get constraints for a provider by name or return if already ProviderConstraints. Args: provider: Provider name string or ProviderConstrai
lib/crewai-files/src/crewai_files/processing/constraints.py:337
↓ 13 callersMethodget_platform_tools
Resolve platform app selectors into tools. Args: apps: App or ``app/action`` selectors to resolve. Returns:
lib/crewai/src/crewai/agent/core.py:1534
↓ 13 callersMethodlist
List all CLI configuration parameters.
lib/cli/src/crewai_cli/settings/main.py:24
↓ 13 callersMethodlogin
(self, source: str)
lib/cli/tests/experimental/test_eval_crew.py:2402
↓ 13 callersMethodlogin
Sign in to the CrewAI platform via the OAuth2 device flow. Raises: SystemExit: With code 1 when the device code expires before th
lib/crewai-core/src/crewai_core/auth/oauth2.py:130
↓ 13 callersFunctionparse_frontmatter
Split SKILL.md content into frontmatter dict and body text. Args: content: Raw SKILL.md file content. Returns: Tuple of (fro
lib/crewai/src/crewai/skills/parser.py:39
↓ 13 callersFunctionparse_toml
Parse a TOML string and return its parsed contents.
lib/crewai-core/src/crewai_core/project.py:44
↓ 13 callersMethodread
(self)
lib/crewai/src/crewai/agent/conversation.py:174
↓ 13 callersFunctionstarted
(source: str)
lib/cli/tests/authentication/test_login_usage.py:50
↓ 13 callersFunctionstarted
(source: str)
lib/crewai/tests/cli/authentication/test_login_usage.py:50
↓ 13 callersFunctionstring_to_callable
Convert a dotted path string to the callable it references. If *value* is already callable it is returned as-is, with a warning if :func:`cal
lib/crewai/src/crewai/types/callback.py:32
↓ 13 callersMethodsupports_function_calling
Check if the model supports function calling.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1313
↓ 12 callersFunction_assert_tools_overlapped
()
lib/crewai/tests/agents/test_native_tool_calling.py:130
↓ 12 callersMethod_classify_import_error
Turn a raw import-time exception into a user-actionable finding.
lib/cli/src/crewai_cli/deploy/validate.py:971
↓ 12 callersMethod_emit_call_denied_event
Report a hook deny as a deny rather than as a provider failure. The call still owes its started event a terminal one, so the failed event
lib/crewai/src/crewai/llms/base_llm.py:894
↓ 12 callersFunction_forbid_prompts
(monkeypatch: MonkeyPatch)
lib/cli/tests/test_create_flow.py:160
↓ 12 callersMethod_git_path
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:1160
↓ 12 callersFunction_kickoff
(payload: Any, agent_cls: type = Agent)
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:64
↓ 12 callersFunction_llm_mock
(return_value: str = "described")
lib/crewai-tools/tests/tools/test_vision_tool.py:15
↓ 12 callersFunction_normalize_ollama_base_url
Normalize an Ollama base URL into a full OpenAI-compatible endpoint. ``OLLAMA_HOST`` follows Ollama's own convention and may be a bare host (
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:105
↓ 12 callersMethod_oauth2_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:40
↓ 12 callersFunction_output
What was printed, without the colors click adds at a terminal.
lib/cli/tests/test_create_flow.py:136
↓ 12 callersFunction_parallel_prompt
()
lib/crewai/tests/agents/test_native_tool_calling.py:102
↓ 12 callersFunction_pin_crewai_deps
Replace crewai dependency version pins in a pyproject.toml string. Handles both pinned (==) and minimum (>=) version specifiers, as well as e
lib/devtools/src/crewai_devtools/cli.py:610
↓ 12 callersMethod_poll_for_token
Poll the token endpoint until authentication completes or the code expires.
lib/crewai-core/src/crewai_core/auth/oauth2.py:194
↓ 12 callersFunction_record
Build a record with a fixed vector and a timestamp ``index`` minutes after BASE_TIME.
lib/crewai/tests/memory/test_storage_backend_contract.py:51
↓ 12 callersMethod_safe_telemetry_procedure
Run a void telemetry procedure, swallowing failures.
lib/crewai-core/src/crewai_core/telemetry.py:394
↓ 12 callersFunction_saved_methods
(store)
lib/crewai/tests/test_flow_from_definition.py:3760
↓ 12 callersFunction_skills_page
(rows: list[dict[str, object]], total_pages: int)
lib/cli/tests/skills/test_main.py:359
↓ 12 callersFunction_unreadable
()
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:331
↓ 12 callersFunction_validate_deployment_repo_crewai_pin
Fail unless every effective canary CrewAI requirement has the exact pin.
lib/devtools/src/crewai_devtools/cli.py:1596
↓ 12 callersMethodaadd_documents
Add documents with their embeddings to a collection asynchronously. Keyword Args: collection_name: The name of the collection to
lib/crewai/src/crewai/rag/qdrant/client.py:355
↓ 12 callersMethodacall
( self, messages: Any, tools: Any = None, callbacks: Any = None, avail
lib/crewai/tests/llms/test_base_llm.py:25
↓ 12 callersMethodadd
Add a new task output record to the database. Args: task: The Task object containing task details. output: Dictionary
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:78
↓ 12 callersMethodadd
Add a new task output to storage. Args: task: The task that was executed. output: The output produced by the task.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:59
↓ 12 callersFunctionchat
(llm: PublicLLM | None = None)
lib/crewai/tests/test_flow_turns.py:43
↓ 12 callersMethodclaim
Atomically acquire the floor for at most one still-relevant completion.
lib/crewai/src/crewai/experimental/flow_replies.py:252
↓ 12 callersFunctioncompared
(**overrides)
lib/cli/tests/experimental/test_eval_crew.py:1715
↓ 12 callersFunctioncomplete
(flow, name="one")
lib/crewai/tests/test_flow_replies.py:39
↓ 12 callersMethodcreate_vector_index
( self, *, index_name: str | None = None, idx_type: Literal["HNSW", "IVF"] = "
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:711
↓ 12 callersMethodenqueue
Queue one accepted completion; duplicates coalesce by job version. Only terminal completions are announced, so noisy stage progress never
lib/crewai/src/crewai/experimental/flow_replies.py:165
↓ 12 callersMethodexecute_action
Execute an action with the given arguments.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:289
↓ 12 callersMethodexecute_sql
Execute *sql_query* and return the results as a list of dicts. Parameters ---------- sql_query: The SQL statement
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:460
↓ 12 callersFunctionfiles_in
(folder: Path)
lib/cli/tests/experimental/test_eval_crew.py:3041
↓ 12 callersFunctionfind_http_status
Search exceptions for an HTTP status reported by an MCP server. Args: *errors: Exceptions to search, in order of preference. Returns
lib/crewai/src/crewai/mcp/exceptions.py:230
↓ 12 callersMethodformat_output_for_agent
(self, raw_result: object)
lib/crewai/tests/tools/test_base_tool.py:610
↓ 12 callersMethodget_cached_path
Return the cached skill directory path if usable, else None. Args: org: Organisation slug. name: Skill name.
lib/crewai/src/crewai/skills/cache.py:43
↓ 12 callersFunctionget_current_call_id
Get current call_id from context
lib/crewai/src/crewai/llms/base_llm.py:211
↓ 12 callersFunctionget_llm_response
Call the LLM and return the response, handling any invalid responses. Args: llm: The LLM instance to call. messages: The messages
lib/crewai/src/crewai/utilities/agent_utils.py:713
↓ 12 callersMethodload
Load and process all files from a directory recursively. Args: source_content: Directory path or URL to a directory listing
lib/crewai-tools/src/crewai_tools/rag/loaders/directory_loader.py:10
↓ 12 callersFunctionload_chromadb_embedding_function
Import one of chromadb's embedding function classes on demand. Args: module: Module name under ``chromadb.utils.embedding_functions``.
lib/crewai/src/crewai/rag/embeddings/chromadb_loader.py:9
↓ 12 callersFunctionparse_tool_call_args
Parse tool call arguments from a JSON string or dict. Returns: ``(args_dict, None)`` on success, or ``(None, error_result)`` on J
lib/crewai/src/crewai/utilities/agent_utils.py:1794
↓ 12 callersMethodprocess
Process a single file according to constraints and its mode mode. Args: file: The file to process. Returns:
lib/crewai-files/src/crewai_files/processing/processor.py:111
↓ 12 callersMethodread
Fetch content from URL (for providers that don't support URL references).
lib/crewai-files/src/crewai_files/core/sources.py:529
↓ 12 callersFunctionresolve_registry_ref
Resolve a registry reference to a Skill object. Resolution order: 1. ./skills/{name}/ in the current working directory (project-local) 2.
lib/crewai/src/crewai/skills/registry.py:114
↓ 12 callersMethodresume_live_updates
Resume Live session updates after human input is complete. New streaming sessions will be created on-demand when needed. This method
lib/crewai/src/crewai/events/utils/console_formatter.py:201
↓ 12 callersFunctionsaved
(db, session_id="s1")
lib/crewai/tests/agents/test_agent_state.py:132
↓ 12 callersMethodsearch
Search for similar documents using a query. Keyword Args: collection_name: Name of the collection to search in. query
lib/crewai/src/crewai/rag/qdrant/client.py:401
↓ 12 callersFunctionsetup
()
lib/crewai/tests/test_flow_replies.py:33
↓ 12 callersMethodstart
(self)
lib/crewai/tests/utilities/test_events.py:628
↓ 12 callersMethodto
(self, path: str)
lib/cli/tests/authentication/test_placeholder.py:101
↓ 12 callersFunctiontool_call
(name: str, **arguments: Any)
lib/crewai/tests/agents/test_agent_spreadsheets.py:146
↓ 12 callersFunctiontool_failure_collector
Collect the failures of one execution, isolated from concurrent ones. An agent may be shared by tasks running concurrently, so accumulating on
lib/crewai/src/crewai/tools/tool_failure.py:269
↓ 11 callersFunction_a_project_that_never_traced
A project with nothing traced and tracing never turned on, run from a terminal. Each crew run is recorded with the tracing setting it saw and
lib/cli/tests/experimental/test_eval_crew.py:3855
↓ 11 callersMethod_agent
(self, **kwargs)
lib/crewai/tests/test_tool_cache_default.py:161
↓ 11 callersFunction_at_a_terminal
Run `crewai create` as a person who types ``typed``, with stdin and stdout terminals unless a test says otherwise. Call it in the test body: pytes
lib/cli/tests/test_cli.py:410
↓ 11 callersFunction_attributes
(span: MagicMock)
lib/crewai-core/tests/test_telemetry_deploy.py:38
↓ 11 callersMethod_collapse_to_outcome
Collapse free-form feedback to a predefined outcome using LLM. This method uses the specified LLM to interpret the human's feedback a
lib/crewai/src/crewai/flow/runtime/__init__.py:3921
↓ 11 callersFunction_create
Run `crewai create` outside CliRunner, which would swap in its own non-terminal stdin and stdout.
lib/cli/tests/test_cli.py:463
↓ 11 callersFunction_fixture_records
Four records that differ in scope, category, metadata, and timestamp.
lib/crewai/tests/memory/test_storage_backend_async_parity.py:78
↓ 11 callersFunction_graded
(monkeypatch, directory: Path, answer=None, evaluation_id: str = EVALUATION_ID, gate: str = "passed")
lib/cli/tests/experimental/test_eval_crew.py:4529
↓ 11 callersMethod_make_state
(self)
lib/crewai/tests/test_checkpoint.py:223
↓ 11 callersFunction_record_runs
Record each `crewai run` that create starts. Other commands, such as git, run for real.
lib/cli/tests/test_cli.py:445
↓ 11 callersFunction_repeated_call_records
(records: list[ToolFailureRecord])
lib/crewai/tests/tools/test_tool_failure.py:1855
↓ 11 callersMethod_resolve_native
Resolve an ``MCPServerConfig`` into tools. Returns ``(tools, clients)`` where *clients* is always empty for native tools (clients are
lib/crewai/src/crewai/mcp/tool_resolver.py:338
↓ 11 callersMethod_run
Read a file, or a window of its lines, as text.
lib/crewai-tools/src/crewai_tools/tools/file_read_tool/file_read_tool.py:174
↓ 11 callersMethod_run
Process input text synchronously.
lib/crewai/tests/tools/test_base_tool.py:149
↓ 11 callersFunction_run_turn
(flow: Flow[Any], entry: str, message: str, **kwargs: Any)
lib/crewai/tests/test_flow_conversation.py:3822
↓ 11 callersMethod_setup_connected_tool
(self, rows: list[tuple], **kwargs)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:391
↓ 11 callersFunction_stub_api
A CrewAI AMP client stub serving one skill.
lib/crewai/tests/skills/test_registry.py:52
↓ 11 callersMethodaclose
Settle owned workers; in-flight provider calls may still take time.
lib/crewai/src/crewai/experimental/flow_jobs.py:402
↓ 11 callersFunctionbuild
(provider: Provider, via_llm: bool, **kwargs: Any)
lib/crewai/tests/llms/test_missing_api_key.py:113
↓ 11 callersFunctionbuild_agent
(**kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:140
↓ 11 callersMethodconnect
(self)
lib/crewai/tests/telemetry/test_wharf_runner.py:86
↓ 11 callersFunctionconvert_to_model
Convert a result to a Pydantic model or JSON. Args: result: The result to convert. Usually a JSON string, but a Pydantic inst
lib/crewai/src/crewai/utilities/converter.py:215
↓ 11 callersMethodcreate_agent_executor
Create the AgentExecutor for the agent.
lib/crewai/src/crewai/agent/core.py:1432
↓ 11 callersFunctioncreate_folder_structure
( name: str, parent_folder: str | None = None )
lib/cli/src/crewai_cli/create_crew.py:50
↓ 11 callersFunctiondata_message
The data message of one model call, checked to sit just before the newest user message.
lib/crewai/tests/agents/test_agent_state.py:85
↓ 11 callersMethoddelete
Delete an uploaded file. Args: file_id: The file identifier to delete. Returns: True if deletion was success
lib/crewai-files/src/crewai_files/uploaders/base.py:76
↓ 11 callersMethodget_mcp_tools
(self, mcps: list[str])
lib/crewai/tests/agents/agent_builder/test_base_agent.py:25
↓ 11 callersMethodisatty
(self)
lib/cli/tests/test_cli.py:406
↓ 11 callersMethodload
Load the data from the specified file using pickle. Returns: The data loaded from the file.
lib/crewai/src/crewai/utilities/file_handler.py:155
↓ 11 callersFunctionmark_cache_breakpoint
Return ``message`` with the cache-breakpoint flag set. Returns a new dict so callers can safely pass literal dicts.
lib/crewai/src/crewai/llms/cache.py:27
↓ 11 callersFunctionmissing_key
(name: str = "OPENAI_API_KEY")
lib/cli/tests/test_run_usage.py:1373
↓ 11 callersMethodon
Decorator to register an event handler for a specific event type. Handlers can accept 2 or 3 arguments: - ``(source, event)`` — s
lib/crewai/src/crewai/events/event_bus.py:245
← previousnext →401–500 of 20,483, ranked by callers