MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,282 in github.com/crewAIInc/crewAI

↓ 4 callersFunctionis_registry_ref
Return True if *value* looks like a registry reference (@org/name).
lib/crewai/src/crewai/skills/registry.py:41
↓ 4 callersFunctionis_tool_call_list
Check if a response from the LLM is a list of tool calls. Supports OpenAI, Anthropic, Bedrock, and Gemini formats. Args: response: T
lib/crewai/src/crewai/utilities/agent_utils.py:1371
↓ 4 callersMethodlist_templates
List available templates with an interactive selector to install.
lib/cli/src/crewai_cli/remote_template/main.py:45
↓ 4 callersMethodlist_triggers
List all available triggers from integrations.
lib/cli/src/crewai_cli/triggers/main.py:23
↓ 4 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/mdx_loader.py:18
↓ 4 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/csv_loader.py:11
↓ 4 callersMethodload
Load all stored task outputs. Returns: List of task output dictionaries, or None if no outputs exist.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:82
↓ 4 callersFunctionload_crew_from_definition
Load a ``Crew`` from an in-memory JSON/YAML crew definition.
lib/crewai/src/crewai/project/crew_loader.py:40
↓ 4 callersFunctionload_from_url
Load content from a URL. Args: url: The URL to fetch content from kwargs: Additional keyword arguments (can include 'headers' ove
lib/crewai-tools/src/crewai_tools/rag/loaders/utils.py:6
↓ 4 callersFunctionload_skill_instructions
Promote a skill to INSTRUCTIONS disclosure level. Reads the full SKILL.md body text. Args: skill: Skill at METADATA level. Retu
lib/crewai/src/crewai/skills/parser.py:129
↓ 4 callersFunctionload_skills
Load skill inputs into de-duplicated Skill objects. Preserves first-seen order when multiple inputs resolve to the same skill name. Registry
lib/crewai/src/crewai/skills/loader.py:190
↓ 4 callersMethodlog_success_event
Log successful LLM API call and track token usage.
lib/crewai/src/crewai/utilities/token_counter_callback.py:37
↓ 4 callersMethodmark_failed
Mark a todo as failed by step number.
lib/crewai/src/crewai/utilities/planning_types.py:104
↓ 4 callersFunctionmock_driver_with_html
(html_content)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:12
↓ 4 callersFunctionnormalize_package_name
Normalize a pyproject project.name into a Python package directory name. Mirrors the rules in ``crewai.cli.create_crew.create_crew`` so the v
lib/cli/src/crewai_cli/deploy/validate.py:111
↓ 4 callersMethodon_tool_use_finished
( self, tool: Any, tool_calling: ToolCalling | InstructorToolCalling, from_cac
lib/crewai/src/crewai/tools/tool_usage.py:975
↓ 4 callersMethodorigin_url
Get the Git repository's remote URL.
lib/cli/src/crewai_cli/git.py:191
↓ 4 callersFunctionparse
Parse agent output text into AgentAction or AgentFinish. Expects output to be in one of two formats. If the output signals that an action sh
lib/crewai/src/crewai/agents/parser.py:62
↓ 4 callersMethodparseColor
(color)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:274
↓ 4 callersFunctionparse_skill_md
Read and parse a SKILL.md file. Args: path: Path to the SKILL.md file. Returns: Tuple of (SkillFrontmatter, body text).
lib/crewai/src/crewai/skills/parser.py:76
↓ 4 callersFunctionparse_tools
Parse tools to be used for the task. Args: tools: List of tools to parse. Returns: List of structured tools. Raises:
lib/crewai/src/crewai/utilities/agent_utils.py:164
↓ 4 callersMethodplot
Create interactive HTML visualization of Flow structure. Args: filename: Output HTML filename (default: "crewai_flow.html").
lib/crewai/src/crewai/flow/runtime/__init__.py:3722
↓ 4 callersFunctionpop_event_scope
Pop an event entry from the scope stack.
lib/crewai/src/crewai/events/event_context.py:185
↓ 4 callersFunctionprepare_kickoff
Prepare crew for kickoff execution. Handles before callbacks, event emission, task handler reset, input interpolation, task callbacks, agent
lib/crewai/src/crewai/crews/utils.py:249
↓ 4 callersFunctionprocess_guardrail
Process the guardrail for the agent output. Args: output: The output to validate with the guardrail guardrail: The guardrail to v
lib/crewai/src/crewai/utilities/guardrail.py:123
↓ 4 callersFunctionprompt_for_inputs
Prompt for each name and return ``{name: value}``. ``describe(name)`` returns an optional hint shown dim above the prompt (used by flows to s
lib/cli/src/crewai_cli/input_prompt.py:53
↓ 4 callersMethodprune
Remove old checkpoints, keeping at most *max_keep* per branch. Args: location: The storage destination passed to ``checkpoint``.
lib/crewai/src/crewai/state/provider/core.py:64
↓ 4 callersFunctionprune_checkpoints
( location: str, keep: int | None, older_than: str | None, dry_run: bool = False )
lib/cli/src/crewai_cli/checkpoint_cli.py:691
↓ 4 callersFunctionrecord
(method_name: str)
lib/crewai/tests/test_flow.py:1523
↓ 4 callersMethodrecord
(cls, tool_name: str, start: float, end: float)
lib/crewai/tests/agents/test_native_tool_calling.py:93
↓ 4 callersFunctionregister_cleanup
Register a cleanup callback on the streaming output. Ensures the event handler is unregistered even if aclose()/close() is called before iter
lib/crewai/src/crewai/utilities/streaming.py:400
↓ 4 callersMethodrequest_human_input
Request human input during tool hook execution. This method pauses live console updates, displays a prompt to the user, waits for the
lib/crewai/src/crewai/hooks/tool_hooks.py:85
↓ 4 callersMethodreset
Reset all settings to default values.
lib/crewai-core/src/crewai_core/settings.py:227
↓ 4 callersFunctionresolve_ref
Return the Python symbol named by a project definition field.
lib/crewai/src/crewai/utilities/declarative_refs.py:41
↓ 4 callersMethodsanitize_tool_name
Sanitize tool name for API compatibility.
lib/crewai/src/crewai/agents/agent_adapters/base_tool_adapter.py:38
↓ 4 callersFunctionsanitize_tool_params_for_openai_strict
Sanitize a JSON schema for OpenAI strict function calling.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:615
↓ 4 callersMethodsave_pending_feedback
(self, flow_uuid, context, state_data)
lib/crewai/tests/test_flow_from_definition.py:3354
↓ 4 callersMethodscope
Return a scoped view of this memory.
lib/crewai/src/crewai/memory/unified_memory.py:898
↓ 4 callersFunctionserialize_guardrail_for_json
Serialize a single guardrail value for JSON checkpointing. String descriptions are preserved; callable references cannot be JSON-serialized a
lib/crewai/src/crewai/utilities/guardrail.py:12
↓ 4 callersFunctionserialize_guardrails_for_json
Serialize a guardrails value (single or sequence) for JSON checkpointing. Dropped callables are filtered out of lists rather than emitted as ``No
lib/crewai/src/crewai/utilities/guardrail.py:34
↓ 4 callersFunctionserialize_model_class
Serialize a ``type[BaseModel]`` field value as its JSON schema. Args: value: A ``type[BaseModel]`` subclass, ``None``, or another union m
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:795
↓ 4 callersMethodset_tracer
Install our TracerProvider as the global one (idempotent).
lib/crewai-core/src/crewai_core/telemetry.py:147
↓ 4 callersFunctionshould_auto_collect_first_time_traces
True if we should auto-collect traces for first-time user. Returns: True if first-time user AND telemetry not disabled AND tracing not ex
lib/crewai/src/crewai/events/listeners/tracing/utils.py:444
↓ 4 callersMethodskill
Return a portable Markdown skill for authoring Flow declarations.
lib/crewai/src/crewai/flow/flow_definition.py:853
↓ 4 callersMethodswitch
(self, org_id: str)
lib/cli/src/crewai_cli/organization/main.py:53
↓ 4 callersFunctionupdate_template_dependencies
Update crewai dependency versions in CLI template pyproject.toml files. Uses simple string replacement instead of TOML parsing because templa
lib/devtools/src/crewai_devtools/cli.py:649
↓ 4 callersFunctionvalidate_model
Validate and convert a JSON string to a Pydantic model or dict. Args: result: The JSON string to validate and convert. model: The
lib/crewai/src/crewai/utilities/converter.py:261
↓ 4 callersFunctionvalidate_text
Validate a text file against general constraints. Args: file: The text file to validate. constraints: Provider constraints to val
lib/crewai-files/src/crewai_files/processing/validators.py:445
↓ 4 callersFunctionwrap_file_source
Wrap a FileSource in the appropriate typed FileInput wrapper. Args: source: The file source to wrap. Returns: Typed FileInpu
lib/crewai-files/src/crewai_files/resolution/utils.py:19
↓ 3 callersMethod__init__
Initialize the exception. Args: message: Error message describing the issue. file_name: Optional name of the file tha
lib/crewai-files/src/crewai_files/processing/exceptions.py:25
↓ 3 callersMethod__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:55
↓ 3 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:630
↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_delete_after_use).
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:147
↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_kill_after_use).
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:147
↓ 3 callersFunction_afetch_agent_card_impl
Internal async implementation of AgentCard fetching.
lib/crewai/src/crewai/a2a/utils/agent_card.py:237
↓ 3 callersFunction_agent_class_from_definition
( defn: dict[str, Any], source: str | Path, *, resolve_python_refs: bool = True, project_r
lib/crewai/src/crewai/project/json_loader.py:864
↓ 3 callersMethod_aggregate_agent_results
( self, agent_id: str, agent_role: str, results: Sequence[AgentEvaluationResul
lib/crewai/src/crewai/experimental/evaluation/evaluation_display.py:250
↓ 3 callersMethod_ainvoke_loop
Re-run the executor flow asynchronously using feedback messages.
lib/crewai/src/crewai/experimental/agent_executor.py:3203
↓ 3 callersMethod_alocked
Async cross-process lock that acquires/releases in an executor.
lib/crewai/src/crewai/rag/chromadb/client.py:83
↓ 3 callersMethod_aprocess_async_tasks
Process pending async tasks and return their outputs.
lib/crewai/src/crewai/crew.py:1417
↓ 3 callersMethod_bind_runtime_state
(self, *event_dicts: dict[str, object])
lib/crewai/tests/events/test_event_context.py:192
↓ 3 callersMethod_build_route_catalog
( self, router_config: RouterConfig | None, )
lib/crewai/src/crewai/experimental/conversational_mixin.py:1025
↓ 3 callersMethod_chain_lineage
Update lineage fields after a successful checkpoint write. Sets ``_checkpoint_id`` and ``_parent_id`` so the next write records the c
lib/crewai/src/crewai/state/runtime.py:216
↓ 3 callersMethod_check_usage_limit
Check if tool has reached its usage limit. Args: tool: The tool to check tool_name: The name of the tool (used for er
lib/crewai/src/crewai/tools/tool_usage.py:741
↓ 3 callersMethod_clear_or_listeners
Clear fired OR listeners for cyclic flows.
lib/crewai/src/crewai/flow/runtime/__init__.py:992
↓ 3 callersMethod_clear_scroll
(self, tab_id: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:474
↓ 3 callersMethod_coerce_llm
(llm: str | BaseLLM | Any)
lib/crewai/src/crewai/experimental/conversational_mixin.py:1174
↓ 3 callersMethod_collapse_plan_on_task_done
Collapse unfinished display-only plan steps once the task succeeds.
lib/cli/src/crewai_cli/crew_run_tui.py:1822
↓ 3 callersFunction_compute_file_hash
Compute SHA-256 hash of file content. Uses streaming for FilePath sources to avoid loading large files into memory.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:75
↓ 3 callersMethod_conversation_flow_definition
(self)
lib/crewai/src/crewai/experimental/conversational_mixin.py:777
↓ 3 callersMethod_crew
(self, **crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:229
↓ 3 callersMethod_current_usage_summary
Snapshot the cumulative usage counters backing this agent's LLM. The counters live on the LLM instance (or the agent's token process
lib/crewai/src/crewai/agent/core.py:1734
↓ 3 callersFunction_detect_location
Resolve the default checkpoint location. When the caller passes the default directory path, check whether a SQLite database exists at the con
lib/cli/src/crewai_cli/checkpoint_cli.py:65
↓ 3 callersMethod_drain_memory_writes
Block until all pending background memory saves have completed. Covers the crew memory, per-agent memories, and the manager agent's m
lib/crewai/src/crewai/crew.py:1869
↓ 3 callersFunction_ensure_dir_mode
Tighten a dedicated config directory to 0o700. Skips directories shared with other users or content (the system temp dir and the current work
lib/crewai-core/src/crewai_core/settings.py:29
↓ 3 callersFunction_ensure_handlers_registered
Register checkpoint handlers on the event bus once, lazily.
lib/crewai/src/crewai/state/checkpoint_listener.py:43
↓ 3 callersMethod_ensure_indexes
Create payload indexes for efficient filtering.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:163
↓ 3 callersFunction_entity_icon
(etype: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:114
↓ 3 callersFunction_ephemeral_user
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:956
↓ 3 callersMethod_execute_listeners
Executes all listeners and routers triggered by a method completion. This internal method manages the execution flow by: 1. First exe
lib/crewai/src/crewai/flow/runtime/__init__.py:2882
↓ 3 callersMethod_execute_start_method
Executes a flow's start method and its triggered listeners. This internal method handles the execution of methods marked with @start
lib/crewai/src/crewai/flow/runtime/__init__.py:2556
↓ 3 callersMethod_execute_tasks
Executes tasks sequentially and returns the final output. Args: tasks (List[Task]): List of tasks to execute manager
lib/crewai/src/crewai/crew.py:1540
↓ 3 callersFunction_expect_object
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:602
↓ 3 callersMethod_export_output
( self, result: str | BaseModel )
lib/crewai/src/crewai/task.py:1174
↓ 3 callersMethod_extract_chat_finish_reason_and_id
ChatCompletion / ChatCompletionChunk share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2692
↓ 3 callersMethod_extract_claude_tool_result_ids
(message: LLMMessage)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:295
↓ 3 callersMethod_extract_finish_reason_and_id
Azure ``ChatCompletions`` / ``StreamingChatCompletionsUpdate`` share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1329
↓ 3 callersMethod_extract_thinking_block
Extract and format thinking block from content block. Args: content_block: Content block from Anthropic response Returns
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:643
↓ 3 callersMethod_fetch_all_available_columns
Fetch columns for *table_name* using a parameterised query. The table name is bound via SQLAlchemy's ``:param`` syntax to prevent SQL
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:407
↓ 3 callersFunction_fetch_openai_compatible
Parse an OpenAI-shaped ``GET /models`` response.
lib/cli/src/crewai_cli/model_catalog.py:223
↓ 3 callersFunction_filter_methods
Filter methods by attribute presence, preserving exact callable types. Args: methods: Dictionary of methods to filter. attribute:
lib/crewai/src/crewai/project/crew_base.py:416
↓ 3 callersFunction_format_json_in_text
Find JSON objects/arrays in text and pretty-print them.
lib/cli/src/crewai_cli/crew_run_tui.py:102
↓ 3 callersMethod_format_messages_for_gemini
Format messages for Gemini API. Gemini has specific requirements: - System messages are separate system_instruction - Content
lib/crewai/src/crewai/llms/providers/gemini/completion.py:548
↓ 3 callersMethod_format_messages_for_provider
Format messages according to provider requirements. Args: messages: List of message dictionaries with 'role' and 'content' keys.
lib/crewai/src/crewai/llm.py:2304
↓ 3 callersMethod_format_prompt
Format prompt template with input values. Args: prompt: Template string. inputs: Values to substitute. Retur
lib/crewai/src/crewai/experimental/agent_executor.py:3116
↓ 3 callersFunction_format_size
(size: int)
lib/cli/src/crewai_cli/checkpoint_cli.py:193
↓ 3 callersMethod_format_tools_for_converse
Convert CrewAI tools to Converse API format following AWS specification.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1974
↓ 3 callersFunction_generate_release_notes
Generate, display, and optionally edit release notes. Args: version: Version being released. tag_name: Tag name for the release.
lib/devtools/src/crewai_devtools/cli.py:934
↓ 3 callersMethod_get_agent_backstory
Safely gets the agent's backstory, providing a default if not available. Returns: The agent's backstory or a default value.
lib/crewai/src/crewai/utilities/reasoning_handler.py:490
↓ 3 callersFunction_get_click_requirement_from_pyproject
Parse the click requirement directly from a pyproject.toml file.
lib/cli/tests/test_click_compatibility.py:24
← previousnext →901–1,000 of 13,282, ranked by callers