MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 11 callersFunctionparse_skill_ref
Parse a registry reference into its organisation, name and version. Accepts '@org/skill-name' and the version-pinned '@org/skill-name@1.2.0'
lib/crewai/src/crewai/skills/registry.py:46
↓ 11 callersFunctionprovider_for_model
Return the provider crewAI runs ``model`` on, or ``None`` if it is unknown. A ``provider/model`` string names its provider by prefix, with crewAI
lib/cli/src/crewai_cli/constants.py:201
↓ 11 callersFunctionraises
(error: Exception)
lib/cli/tests/test_run_usage.py:1556
↓ 11 callersFunctionread_file
(path)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:35
↓ 11 callersFunctionregister_after_llm_call_hook
Register a global after_llm_call hook. Global hooks are added to all executors automatically. This is a convenience function for registering
lib/crewai/src/crewai/hooks/llm_hooks.py:265
↓ 11 callersMethodregister_handler
Register an event handler for a specific event type. Args: event_type: The event class to listen for handler: The han
lib/crewai/src/crewai/events/event_bus.py:797
↓ 11 callersFunctionrepeated_tool_call_limit_reached
Whether the streak tracked by :func:`check_repeated_tool_call` hit the limit.
lib/crewai/src/crewai/utilities/agent_utils.py:2098
↓ 11 callersFunctionresolve_agent_project_entrypoint
Resolve one project-local Python, JSON, or YAML standalone agent. An explicit ``[tool.crewai].definition`` takes precedence. Otherwise load `
lib/crewai-core/src/crewai_core/project.py:160
↓ 11 callersFunctionrun_app_ends
The run app, opened once per FAILURES entry: that run fails with it, or completes for None. Returns what happened, in order.
lib/cli/tests/test_run_usage.py:1342
↓ 11 callersFunctionsaved_token
()
lib/cli/tests/authentication/test_placeholder.py:207
↓ 11 callersMethodsearch
( self, query: list[str], limit: int = 5, metadata_filter: dict[str, Any] | No
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:117
↓ 11 callersMethodset
(self)
lib/cli/tests/test_trace_consent_session.py:141
↓ 11 callersFunctionset_tui_mode
(enabled: bool)
lib/crewai/src/crewai/events/listeners/tracing/utils.py:82
↓ 11 callersMethodshutdown
Drain execution events, export, and remove only this session's handlers.
lib/crewai/src/crewai/telemetry/tracing/session.py:255
↓ 11 callersMethodshutdown
(self)
lib/crewai/tests/telemetry/test_tracer_isolation.py:31
↓ 11 callersMethodtask_execution
Generate a standard prompt for task execution. Returns: A dictionary containing the constructed prompt(s).
lib/crewai/src/crewai/utilities/prompts.py:93
↓ 11 callersFunctionvalidate_video
Validate a video file against constraints. Args: file: The video file to validate. constraints: Video constraints to validate aga
lib/crewai-files/src/crewai_files/processing/validators.py:400
↓ 10 callersFunction_agent
(llm: BaseLLM)
lib/crewai/tests/utilities/test_converter.py:1070
↓ 10 callersFunction_assert_next_steps
(output: str, folder_name: str, key_line: str | None)
lib/cli/tests/test_create_flow.py:176
↓ 10 callersFunction_assert_same_record
(actual: MemoryRecord | None, expected: MemoryRecord)
lib/crewai/tests/memory/test_storage_backend_contract.py:72
↓ 10 callersFunction_create
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, fmt: str)
lib/cli/tests/test_agent_tools.py:21
↓ 10 callersFunction_create_analyst_crew
Create a simple analyst crew for file analysis.
lib/crewai/tests/test_flow_multimodal.py:80
↓ 10 callersFunction_create_batch_slice
Create a batch slice from prepared documents. Args: prepared: PreparedDocuments containing ids, texts, and metadatas. start_index
lib/crewai/src/crewai/rag/chromadb/utils.py:112
↓ 10 callersFunction_distill_llm
(*responses: Any)
lib/crewai/tests/test_async_human_feedback.py:1495
↓ 10 callersMethod_extract_finish_reason_and_response_id
LiteLLM responses/chunks share the choices-shape with OpenAI/Azure; delegate to the shared extractor.
lib/crewai/src/crewai/llm.py:2354
↓ 10 callersFunction_find_checkpoint
Find the CheckpointConfig for an event source. Walks known relationships: Task -> Agent -> Crew. Flow and Agent carry their own checkpoint fi
lib/crewai/src/crewai/state/checkpoint_listener.py:88
↓ 10 callersFunction_first_run_traced
()
lib/crewai/tests/telemetry/test_trace_consent_asked.py:146
↓ 10 callersMethod_flow_class
(**config: Any)
lib/crewai/tests/test_flow_conversation.py:3837
↓ 10 callersMethod_get_secure_storage_path
Platform-appropriate per-user credential directory (mode 0o700).
lib/crewai-core/src/crewai_core/token_manager.py:224
↓ 10 callersFunction_instant_span
Emit a zero-duration span for an event that has no start/end pair. Studio's trace tree is built from spans alone -- ``Wharf::SpansFetchService``
lib/crewai/src/crewai/telemetry/tracing/handlers.py:1339
↓ 10 callersMethod_make_manager
(self, *, ephemeral: bool)
lib/crewai/tests/tracing/test_tracing.py:1607
↓ 10 callersFunction_now
()
lib/cli/tests/experimental/test_eval_crew.py:171
↓ 10 callersMethod_prepare_tool_result_for_context
Replace an oversized successful result with a deferred-file reference.
lib/crewai/src/crewai/agents/agent_executor.py:312
↓ 10 callersMethod_reasoning_effort_key
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:2158
↓ 10 callersFunction_record_key_prompts
Answer API-key prompts in order and record each prompt's text and options.
lib/cli/tests/test_create_crew.py:1615
↓ 10 callersFunction_resolve_checkpoint
( location: str, checkpoint_id: str | None )
lib/cli/src/crewai_cli/checkpoint_cli.py:447
↓ 10 callersMethod_run
( self, query: str, filter_by: str | None = None, filter_value: Any | None = N
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:864
↓ 10 callersMethod_run
(self, question: str)
lib/crewai-tools/tests/base_tool_test.py:46
↓ 10 callersFunction_safe_extractall
Path-traversal-safe extraction for Python versions without tar filters. Only regular files and directories are extracted. Symlink and hardlink
lib/cli/src/crewai_cli/skills/main.py:541
↓ 10 callersFunction_sanitize_collection_name
Sanitize a collection name to meet ChromaDB requirements. Requirements: 1. 3-63 characters long 2. Starts and ends with alphanumeric char
lib/crewai/src/crewai/rag/chromadb/utils.py:309
↓ 10 callersFunction_send
( messages: list[LLMMessage], monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:168
↓ 10 callersFunction_serialize_llm_for_context
(llm: Any)
lib/crewai/src/crewai/flow/human_feedback.py:114
↓ 10 callersMethod_show_version_update_message_if_needed
Show version update message if a newer version is available. Only displays when verbose mode is enabled and not running in CI/CD.
lib/crewai/src/crewai/events/utils/console_formatter.py:61
↓ 10 callersFunction_skill_row
( handle: str, *, description: str | None = "A skill.", latest_version: str | None = "1.0.0",
lib/cli/tests/skills/test_main.py:340
↓ 10 callersFunction_streaming_formatter
(file: io.StringIO, **console_kwargs: Any)
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:142
↓ 10 callersFunction_structured_text_response
A response whose single text block holds the structured JSON payload.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2007
↓ 10 callersFunction_text
Non-repeating text of about ``size`` bytes: a cut copy cannot compare equal.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:37
↓ 10 callersMethod_validate_structured_output
Validate and parse structured output. Args: response: Raw response string response_format: Optional Pydantic model fo
lib/crewai/src/crewai/llms/base_llm.py:1161
↓ 10 callersFunctionactivate_skill
Promote a skill to INSTRUCTIONS disclosure level. Idempotent: returns the skill unchanged if already at or above INSTRUCTIONS. Args:
lib/crewai/src/crewai/skills/loader.py:120
↓ 10 callersFunctionadd_job
Register one validated queued record through the serialized state path.
lib/crewai/src/crewai/experimental/flow_jobs.py:97
↓ 10 callersFunctionbuild
(model: str, **kwargs)
lib/crewai/tests/llms/openai/test_responses_only_models.py:34
↓ 10 callersFunctionbuild_rich_field_description
Build a comprehensive field description including constraints. Embeds format, enum, pattern, min/max, and example constraints into the descri
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:725
↓ 10 callersFunctionbuild_tool
Build a tool whose every scrape entrypoint answers with ``raw_response``. ``sdk_logs`` reproduces the oxylabs SDK's habit of logging the real cau
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:177
↓ 10 callersFunctionclear_all
Clear all global hooks across every interception point.
lib/crewai/src/crewai/hooks/dispatch.py:153
↓ 10 callersMethodcopy
Creates a deep copy of the Crew instance. Returns: Crew: A new instance with copied components
lib/crewai/src/crewai/crew.py:2242
↓ 10 callersMethodcreate_table
(self)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:693
↓ 10 callersFunctiondb_storage_path
Return the path for SQLite database / app-data storage. Creates the directory if it does not exist.
lib/crewai-core/src/crewai_core/paths.py:18
↓ 10 callersMethodfork
Fork a Crew from a checkpoint, creating a new execution branch. Args: config: Checkpoint configuration with ``restore_from`` set.
lib/crewai/src/crewai/crew.py:463
↓ 10 callersFunctionformat_message_for_llm
Create an LLM message with trailing whitespace removed.
lib/crewai/src/crewai/utilities/message_utils.py:29
↓ 10 callersFunctionfreeze
Freeze the current Edge into ``docs/v<version>/`` and update docs.json. Args: version: Release version as ``"X.Y.Z"`` (no leading ``v``).
lib/devtools/src/crewai_devtools/docs_versioning.py:100
↓ 10 callersMethodfrom_flow
Build an expression with the standard Flow runtime context.
lib/crewai/src/crewai/flow/expressions.py:235
↓ 10 callersFunctionget_after_llm_call_hooks
Get all registered global after_llm_call hooks. Returns: List of registered after hooks
lib/crewai/src/crewai/hooks/llm_hooks.py:304
↓ 10 callersMethodget_mcp_tools
Convert MCP server references/configs to CrewAI tools. Delegates to :class:`~crewai.mcp.tool_resolver.MCPToolResolver`.
lib/crewai/src/crewai/agent/core.py:1582
↓ 10 callersFunctionguardrail
(decision, expected="accept", **extra)
lib/crewai/tests/test_jev_evaluation_runner.py:123
↓ 10 callersMethodhandle_llm_stream_completed
Handle completion of LLM streaming - stop the streaming live display.
lib/crewai/src/crewai/events/utils/console_formatter.py:666
↓ 10 callersFunctionhandle_max_iterations_exceeded
Handles the case when the maximum number of iterations is exceeded. Performs one more LLM call to get the final answer. Args: printer: Pr
lib/crewai/src/crewai/utilities/agent_utils.py:387
↓ 10 callersFunctionis_tracing_enabled_in_context
Check if tracing is enabled in current execution context. Returns: True if tracing is enabled in context, False otherwise. Return
lib/crewai/src/crewai/events/listeners/tracing/utils.py:206
↓ 10 callersFunctionjson_crew_project
(folder: Path, llm: str = "openai/gpt-5.6-luna")
lib/cli/tests/test_api_keys.py:54
↓ 10 callersMethodkickoff
(self, inputs)
lib/cli/tests/test_run_crew.py:855
↓ 10 callersMethodkickoff
Execute the agent with the given messages. Args: messages: Either a string query or a list of message dictionaries.
lib/crewai/src/crewai/lite_agent.py:501
↓ 10 callersMethodkickoff_async
Execute the agent asynchronously with the given messages. This is the async version of the kickoff method that uses native async exec
lib/crewai/src/crewai/agent/core.py:2522
↓ 10 callersMethodkickoff_for_each
Executes the Crew's workflow for each input and aggregates results. Args: inputs: List of input dictionaries, one per execution.
lib/crewai/src/crewai/crew.py:1114
↓ 10 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/webpage_loader.py:16
↓ 10 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/docx_loader.py:11
↓ 10 callersFunctionload_notebook
Provide a loader for serialized notebook fixtures.
lib/crewai-tools/tests/rag/test_notebook_loader.py:31
↓ 10 callersMethodload_pending_feedback
Load state and pending feedback context. Args: flow_uuid: Unique identifier for the flow instance Returns: T
lib/crewai/src/crewai/flow/persistence/sqlite.py:329
↓ 10 callersMethodlock
Hold a cross-process lock on the token file, so only one process spends a rotating refresh token at a time. The lock file sits next t
lib/crewai-core/src/crewai_core/token_manager.py:192
↓ 10 callersMethodoff
Unregister an event handler for a specific event type. Args: event_type: The event class to stop listening for handle
lib/crewai/src/crewai/events/event_bus.py:368
↓ 10 callersMethodpath_exists
(self)
lib/crewai-tools/src/crewai_tools/rag/source_content.py:29
↓ 10 callersFunctionread_toml
Read a TOML file from disk and return its parsed contents.
lib/crewai-core/src/crewai_core/project.py:38
↓ 10 callersFunctionrecord_stop
Count an evaluation that was asked for and did not reach a verdict, and why. `cli_usage:eval` counts the evaluations that started; this is the ot
lib/cli/src/crewai_cli/experimental/eval_crew.py:204
↓ 10 callersFunctionrender_text_description_and_args
Render the tool name, description, and args in plain text. search: This tool is used for search, args: {"query": {"type": "string"}} calculat
lib/crewai/src/crewai/utilities/agent_utils.py:222
↓ 10 callersMethodrequest
( self, method: str | bytes, url: str | bytes, *args: Any, **kwargs: Any )
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:82
↓ 10 callersFunctionrequire
Import a module, optionally returning a specific attribute. Args: name: The module name to import. purpose: Description of what r
lib/crewai/src/crewai/utilities/import_utils.py:21
↓ 10 callersMethodreset_memories
Reset specific or all memories for the crew. Args: command_type: Type of memory to reset. Valid options: 'memory'
lib/crewai/src/crewai/crew.py:2419
↓ 10 callersMethodsave_state
Save the current flow state to SQLite. Args: flow_uuid: Unique identifier for the flow instance method_name: Name of
lib/crewai/src/crewai/flow/persistence/sqlite.py:193
↓ 10 callersMethodsave_tokens
( self, access_token: str, expires_at: int, refresh_token: str
lib/crewai/tests/cli/authentication/test_login_usage.py:246
↓ 10 callersMethodset_files
Set available input files. Args: files: Dictionary mapping file names to file inputs.
lib/crewai/src/crewai/tools/agent_tools/read_file_tool.py:39
↓ 10 callersMethodstatus
Get the git status in porcelain format.
lib/cli/src/crewai_cli/git.py:84
↓ 10 callersMethodto_pydantic
Generate structured output using the specified Pydantic model. Returns: Instance of the specified Pydantic model with structured
lib/crewai/src/crewai/utilities/internal_instructor.py:139
↓ 10 callersFunctiontool_for
Build a tool around a real SDK client wired to a FakeApi.
lib/crewai-tools/tests/tools/test_jev_decision_tool.py:56
↓ 10 callersFunctionupdate_pyproject_dependencies
Update workspace dependency versions in pyproject.toml. Args: file_path: Path to pyproject.toml file. new_version: New version st
lib/devtools/src/crewai_devtools/cli.py:344
↓ 10 callersFunctionupdate_user_data
Atomically read-modify-write the user data file under a file lock. Args: updates: Key-value pairs to merge into the existing user data.
lib/crewai-core/src/crewai_core/user_data.py:54
↓ 9 callersFunction_a_tracing_project
(directory: Path)
lib/cli/tests/experimental/test_eval_crew.py:4724
↓ 9 callersMethod_acall_completions
Async call to OpenAI Chat Completions API. Falls back to the Responses API for models not served by chat completions, mirroring :meth
lib/crewai/src/crewai/llms/providers/openai/completion.py:872
↓ 9 callersMethod_api_response
(status_code: int, body: object)
lib/cli/tests/deploy/test_deploy_main.py:1171
↓ 9 callersMethod_asave_documents
Save the documents to the storage asynchronously. This method should be called after the chunks and embeddings are generated. Raises
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:77
↓ 9 callersFunction_at_a_terminal
Run `crewai create flow` as a person at a terminal: stdin and stdout are terminals and CREWAI_DMN is unset. Call it in the test body: pytest gives
lib/cli/tests/test_create_flow.py:127
↓ 9 callersFunction_build_docs_root
Build a minimal docs/ tree with one previous snapshot + Edge + docs.json. The shape mirrors the real repo: an Edge directory with per-locale fold
lib/devtools/tests/test_docs_versioning.py:16
↓ 9 callersFunction_close_storage
Flush and release a backend; a no-op for backends without ``close``.
lib/crewai/tests/memory/test_storage_backend_async_parity.py:61
← previousnext →501–600 of 20,483, ranked by callers