MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions14,804 in github.com/crewAIInc/crewAI

↓ 8 callersMethod_get_client_params
Get OpenAI client parameters.
lib/crewai/src/crewai/llms/providers/openai/completion.py:404
↓ 8 callersFunction_get_machine_id
Stable, privacy-preserving machine fingerprint (cross-platform).
lib/crewai/src/crewai/events/listeners/tracing/utils.py:191
↓ 8 callersMethod_invoke_step_callback
Invoke step callback if configured. Args: formatted_answer: Current agent response.
lib/crewai/src/crewai/experimental/agent_executor.py:3063
↓ 8 callersFunction_is_cache_valid
Return True if the cache is less than 24 hours old.
lib/crewai-core/src/crewai_core/version.py:49
↓ 8 callersMethod_make_mcp_request
Make a JSON-RPC 2.0 MCP request to Agent Handler.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:73
↓ 8 callersFunction_make_pyproject
( name: str = "my_crew", dependencies: Iterable[str] = ("crewai>=1.14.0",), *, hatchling: bool
lib/cli/tests/deploy/test_validate.py:24
↓ 8 callersMethod_oauth2_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:36
↓ 8 callersFunction_record
(dim: int, content: str = "test")
lib/crewai/tests/memory/test_dimension_mismatch.py:24
↓ 8 callersMethod_rejects_reasoning_effort_with_tools
Whether a 400 is OpenAI refusing `reasoning_effort` alongside tools. GPT-5.6 applies a server-side `reasoning_effort` default and then reject
lib/crewai/src/crewai/llms/providers/openai/completion.py:1741
↓ 8 callersFunction_reregister_listener
Re-subscribe the global listener to the event bus. The repo-wide ``cleanup_event_handlers`` fixture clears every handler after each test, so
lib/crewai/tests/telemetry/test_flow_telemetry.py:29
↓ 8 callersFunction_resolve_dotted_path
Import a module and walk attribute lookups to resolve a dotted path. Handles multi-level qualified names like ``"module.ClassName.method"`` b
lib/crewai/src/crewai/types/callback.py:97
↓ 8 callersMethod_set_agent_params
(self, data: dict[str, Any])
lib/crewai/src/crewai/events/base_events.py:107
↓ 8 callersMethod_set_task_params
(self, data: dict[str, Any])
lib/crewai/src/crewai/events/base_events.py:101
↓ 8 callersFunction_task_for
(agent: Agent)
lib/crewai/tests/events/test_skill_usage_events.py:45
↓ 8 callersMethod_to_responses_input
Translate a chat-format message into Responses ``input`` items. Tool calling is expressed differently by the two APIs. Chat Completions
lib/crewai/src/crewai/llms/providers/openai/completion.py:761
↓ 8 callersMethod_track_token_usage_internal
Track token usage internally in the LLM instance. Args: usage_data: Token usage data from the API response
lib/crewai/src/crewai/llms/base_llm.py:986
↓ 8 callersMethod_validate_query
Validate the search query to ensure it's safe to execute. Only SELECT and SHOW statements are allowed for security reasons. Args:
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:356
↓ 8 callersMethodaclose
Cancel streaming and clean up resources.
lib/crewai/src/crewai/types/streaming.py:264
↓ 8 callersMethodadd
Add content to the knowledge base.
lib/crewai-tools/src/crewai_tools/tools/rag/rag_tool.py:98
↓ 8 callersFunctionbegin_execution
Start an execution context unless one is already active. The outermost crew or flow receives a new uuid by default. Nested executions inherit
lib/crewai/src/crewai/execution.py:51
↓ 8 callersFunctionchunk_text
Split a text file into chunks of maximum character count. Yields chunks one at a time to minimize memory usage. Args: file: The text
lib/crewai-files/src/crewai_files/processing/transformers.py:227
↓ 8 callersFunctioncleanup_temp_file
(path)
lib/crewai-tools/tests/rag/test_text_loaders.py:19
↓ 8 callersMethodconnect
(self)
lib/crewai/tests/mcp/test_client_connect_auth.py:25
↓ 8 callersMethodcopy
Creates a deep copy of the Crew instance. Returns: Crew: A new instance with copied components
lib/crewai/src/crewai/crew.py:2117
↓ 8 callersMethodcreate_crew
(self, **kwargs)
lib/cli/tests/test_crew_run_tui.py:88
↓ 8 callersMethodcreate_test_tool
( self, client: IntegrationsClient | None = None )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:38
↓ 8 callersMethoddelete_collection
Delete a collection and all its data. Keyword Args: collection_name: Name of the collection to delete. Raises:
lib/crewai/src/crewai/rag/qdrant/client.py:430
↓ 8 callersFunctiondetect_content_type
Detect MIME type from file content. Uses python-magic if available for accurate content-based detection, falls back to mimetypes module using
lib/crewai-files/src/crewai_files/core/sources.py:125
↓ 8 callersFunctionerror_for_status
Build the exception matching an HTTP status. Args: status_code: HTTP status the server responded with. detail: Optional underlyin
lib/crewai/src/crewai/mcp/exceptions.py:103
↓ 8 callersMethodevaluate
(self, agent, task, execution_trace, final_output)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:239
↓ 8 callersMethodfirst
(self, event_type: type[BaseEvent])
lib/crewai/tests/events/test_event_ordering.py:44
↓ 8 callersFunctionforce_additional_properties_false
Force additionalProperties=false on all object-type dicts recursively. OpenAI strict mode requires all objects to have additionalProperties=false
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:181
↓ 8 callersFunctionformat_skill_context
Format skill information for agent prompt injection. At METADATA level: returns name and description only. At INSTRUCTIONS level or above: re
lib/crewai/src/crewai/skills/loader.py:293
↓ 8 callersFunctiongenerate_filename
Generate a UUID-based filename with extension from content type. Args: content_type: MIME type to derive extension from. Returns:
lib/crewai-files/src/crewai_files/core/sources.py:110
↓ 8 callersMethodget
(self, url: str, **kwargs: Any)
lib/crewai-tools/tests/utilities/test_safe_requests.py:549
↓ 8 callersMethodget_actions
Get the actions available for the selected applications.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:229
↓ 8 callersFunctionget_all_files
Get merged crew and task files. Task files override crew files with the same name. Args: crew_id: Unique identifier for the crew exe
lib/crewai/src/crewai/utilities/file_store.py:250
↓ 8 callersFunctionget_crew_context
Get the current crew context from OpenTelemetry baggage. Returns: CrewContext instance containing crew context information, or None if no
lib/crewai/src/crewai/utilities/crew/crew_context.py:10
↓ 8 callersFunctionget_crewai_tools_dependency
Return the generated-project dependency for CrewAI with tools.
lib/cli/src/crewai_cli/version.py:27
↓ 8 callersMethodget_or_create_collection
Get an existing collection or create it if it doesn't exist. Keyword Args: collection_name: Name of the collection to get or crea
lib/crewai/src/crewai/rag/qdrant/client.py:146
↓ 8 callersFunctionget_tool_call_events
Extract tool call streaming events from mock emit calls.
lib/crewai/tests/llms/test_tool_call_streaming.py:55
↓ 8 callersFunctionget_triggering_event_id
Get the ID of the event that triggered the current execution. Returns: The event_id of the triggering event, or None if not in a triggere
lib/crewai/src/crewai/events/event_context.py:100
↓ 8 callersFunctionhandler
(source: object, event: BaseEvent)
lib/crewai/tests/utilities/events/test_shutdown.py:27
↓ 8 callersMethodis_expired
Check if this cached upload has expired.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:48
↓ 8 callersMethodis_url
(self)
lib/crewai-tools/src/crewai_tools/rag/source_content.py:20
↓ 8 callersMethodload_state
Load the most recent state for a given flow UUID. Args: flow_uuid: Unique identifier for the flow instance Returns:
lib/crewai/src/crewai/flow/persistence/sqlite.py:178
↓ 8 callersFunctionnormalize_scope_path
Normalize a scope path by removing double slashes and ensuring proper format. Args: path: The raw scope path (e.g. '/crew/MyCrewName//age
lib/crewai/src/crewai/memory/utils.py:39
↓ 8 callersFunctionparse_registry_ref
Parse '@org/skill-name' into (org, name), ignoring any version pin. Retained for backwards compatibility. Use :func:`parse_skill_ref` to read
lib/crewai/src/crewai/skills/registry.py:95
↓ 8 callersMethodpath_exists
(self)
lib/crewai-tools/src/crewai_tools/rag/source_content.py:29
↓ 8 callersMethodpublish_tool
( self, handle: str, is_public: bool, version: str, description: str |
lib/crewai-core/src/crewai_core/plus_api.py:259
↓ 8 callersFunctionread_toml
Read a TOML file from disk and return its parsed contents.
lib/crewai-core/src/crewai_core/project.py:30
↓ 8 callersMethodrequest_human_input
Request human input during LLM hook execution. This method pauses live console updates, displays a prompt to the user, waits for thei
lib/crewai/src/crewai/hooks/llm_hooks.py:117
↓ 8 callersFunctionresolve_refs
Recursively resolve all local $refs in the given JSON Schema using $defs as the source. This is needed because Pydantic generates $ref-based sche
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:99
↓ 8 callersFunctionset_platform_integration_token
Set the platform integration token in the current context. Args: integration_token: The integration token to set.
lib/crewai/src/crewai/context.py:30
↓ 8 callersFunctionstrip_jsonc_comments
Strip JSONC comments and trailing commas while preserving string values.
lib/crewai/src/crewai/project/json_loader.py:188
↓ 8 callersFunctionstrip_unsupported_formats
Remove format annotations that OpenAI strict mode doesn't support. OpenAI only supports: date-time, date, time, duration. Other formats like
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:230
↓ 8 callersMethodsupports_function_calling
Check if the model supports function calling. Note: This method is only used by the litellm fallback path. Native providers override
lib/crewai/src/crewai/llm.py:2449
↓ 8 callersMethodsupports_stop_words
Check if the model supports stop words. Note: This method is only used by the litellm fallback path. Native providers override this m
lib/crewai/src/crewai/llm.py:2469
↓ 8 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:266
↓ 8 callersMethodtools
Get all available agent tools
lib/crewai/src/crewai/tools/agent_tools/agent_tools.py:22
↓ 8 callersFunctionwrite_temp_file
(content, suffix=".txt", encoding="utf-8")
lib/crewai-tools/tests/rag/test_text_loaders.py:11
↓ 7 callersMethod__get__
Support instance methods by implementing the descriptor protocol. Args: obj: The instance that the method is accessed through.
lib/crewai/src/crewai/project/wrappers.py:297
↓ 7 callersFunction_agent
(llm: BaseLLM, **kwargs: Any)
lib/crewai/tests/agents/test_agent_inject_date.py:60
↓ 7 callersMethod_atomic_write_secure_file
Write content to a secure file via tempfile + os.replace.
lib/crewai-core/src/crewai_core/token_manager.py:124
↓ 7 callersMethod_build_route_catalog
( self, router_config: RouterConfig | None, )
lib/crewai/src/crewai/flow/conversational_mixin.py:1295
↓ 7 callersMethod_build_scope_filter
Build a Qdrant Filter for scope prefix matching.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:244
↓ 7 callersFunction_cache
(tmp_path: Path)
lib/crewai/tests/skills/test_registry.py:59
↓ 7 callersMethod_call_completions
Call OpenAI Chat Completions API. Falls back to the Responses API when the model turns out not to be served by chat completions, whic
lib/crewai/src/crewai/llms/providers/openai/completion.py:503
↓ 7 callersMethod_create_file
(self, directory, filename, content="test content")
lib/crewai-tools/tests/rag/test_directory_loader.py:17
↓ 7 callersFunction_create_skill_dir
Create a skill directory containing a minimal SKILL.md.
lib/crewai/tests/events/test_skill_usage_events.py:23
↓ 7 callersFunction_dict_tool_use_response
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1446
↓ 7 callersMethod_effective_api
Which OpenAI API to actually use for this model. Honours an explicit ``api`` setting, but upgrades to ``"responses"`` for models alre
lib/crewai/src/crewai/llms/providers/openai/completion.py:1780
↓ 7 callersFunction_ensure_litellm
Lazy-load litellm on first use. Returns True if available.
lib/crewai/src/crewai/llm.py:115
↓ 7 callersMethod_execute_single_native_tool_call
Execute a single native tool call and return metadata/result.
lib/crewai/src/crewai/experimental/agent_executor.py:1955
↓ 7 callersFunction_extract_summary_tags
Extract content between <summary></summary> tags. Falls back to the full text if no tags are found. Args: text: Text potentially con
lib/crewai/src/crewai/utilities/agent_utils.py:1031
↓ 7 callersMethod_finalize_task_prompt
Apply skill context, tool preparation, and training data to the task prompt. Args: task_prompt: The task prompt after memory and
lib/crewai/src/crewai/agent/core.py:605
↓ 7 callersMethod_format_messages
(self, messages: str | list[LLMMessage])
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:134
↓ 7 callersFunction_http_status_error
(status_code: int, detail: str = "refused")
lib/crewai/tests/mcp/test_mcp_exceptions.py:25
↓ 7 callersFunction_http_status_error
(status_code: int)
lib/crewai/tests/mcp/test_http_transport_auth.py:19
↓ 7 callersMethod_initialize_backend_and_send_events
Initialize backend batch and send collected events.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:69
↓ 7 callersFunction_install_client
Install *client* the way a hosted runtime does.
lib/crewai/tests/skills/test_registry.py:74
↓ 7 callersFunction_is_escape_hatch_enabled
True when ``ALLOW_UNSAFE_PATHS`` is set and ``FORCE_SAFE_PATHS`` is not.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:79
↓ 7 callersFunction_is_sqlite
Check if a file is a SQLite database by reading its magic bytes.
lib/cli/src/crewai_cli/checkpoint_cli.py:80
↓ 7 callersMethod_load_from_file
(self, content)
lib/crewai-tools/tests/rag/test_mdx_loader.py:18
↓ 7 callersMethod_load_from_path
(self, path)
lib/crewai-tools/tests/rag/test_json_loader.py:25
↓ 7 callersMethod_make_client_kwargs
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:272
↓ 7 callersMethod_make_executor
Build a CrewAgentExecutor with minimal deps.
lib/crewai/tests/agents/test_agent.py:2726
↓ 7 callersMethod_make_executor
Create a minimal CrewAgentExecutor with mocked dependencies.
lib/crewai/tests/agents/test_native_tool_calling.py:1120
↓ 7 callersMethod_merge_tools
Merge new tools into existing tools list, avoiding duplicates.
lib/crewai/src/crewai/crew.py:1723
↓ 7 callersFunction_parse_checkpoint_json
Parse checkpoint JSON into metadata dict.
lib/cli/src/crewai_cli/checkpoint_cli.py:91
↓ 7 callersMethod_prepare_kickoff
Prepare common setup for kickoff execution. This method handles all the common preparation logic shared between kickoff() and kickoff
lib/crewai/src/crewai/agent/core.py:1471
↓ 7 callersMethod_prompt_input
Show rich panel and prompt for input. Args: crew: The crew instance for context. Returns: User input string
lib/crewai/src/crewai/core/providers/human_input.py:319
↓ 7 callersFunction_repin_crewai_install
Rewrite ``crewai[extras]==old`` pins in a shell command string. Splits on the known ``crewai[`` prefix and reconstructs the pin with the new
lib/devtools/src/crewai_devtools/cli.py:1390
↓ 7 callersFunction_resolve_llm_instance
Resolve a collapse/learn LLM the same way agents resolve theirs. Explicit decorator values win. ``None`` follows ``create_llm``: ``MODEL`` /
lib/crewai/src/crewai/flow/human_feedback.py:259
↓ 7 callersFunction_resolving
Resolve refs against a temp cwd and cache, with *api* as the registry.
lib/crewai/tests/skills/test_registry.py:82
↓ 7 callersMethod_run
Execute the search query against the SingleStore database. Args: search_query: The SQL query to execute **kwargs: Add
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:381
↓ 7 callersFunction_run_sync
Run a coroutine synchronously, handling nested event loops. If called from within a running event loop, runs the coroutine in a separate thre
lib/crewai/src/crewai/utilities/file_store.py:36
↓ 7 callersFunction_safe_extractall
Path-traversal-safe extraction for Python versions without tar filters. Validates both the member's own path and, for symlink/hardlink members,
lib/cli/src/crewai_cli/skills/main.py:423
↓ 7 callersMethod_save_documents
Save the documents to the storage. This method should be called after the chunks and embeddings are generated. Raises: V
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:50
↓ 7 callersMethod_scroll_all
Scroll all points matching a filter from a shard.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:256
← previousnext →401–500 of 14,804, ranked by callers