MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,282 in github.com/crewAIInc/crewAI

↓ 3 callersFunction_get_file_path
Get the filesystem path if file source is FilePath. Args: file: The file input to check. Returns: Path if source is FilePath
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:52
↓ 3 callersFunction_get_generic_system_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:320
↓ 3 callersMethod_get_headers
(self, organization_id: str | None = None)
lib/crewai-tools/src/crewai_tools/tools/generate_crewai_automation_tool/generate_crewai_automation_tool.py:62
↓ 3 callersMethod_get_inference_config
Get inference configuration following AWS Converse API specification.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2005
↓ 3 callersMethod_get_knowledge_search_query
Generate a search query for the knowledge base based on the task description.
lib/crewai/src/crewai/agent/core.py:1349
↓ 3 callersFunction_get_linux_machine_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:284
↓ 3 callersMethod_get_max_replans
Get max replans from planning config or default to 3.
lib/crewai/src/crewai/experimental/agent_executor.py:522
↓ 3 callersFunction_get_project_attribute
Look up a dotted attribute path inside ``pyproject_path``. The file must declare ``crewai`` in ``[project].dependencies`` for the lookup to s
lib/crewai-core/src/crewai_core/project.py:150
↓ 3 callersMethod_get_reasoning_effort
Get the reasoning effort level from the agent's planning config. Returns: The reasoning effort level: "low", "medium", or "high".
lib/crewai/src/crewai/experimental/agent_executor.py:508
↓ 3 callersFunction_get_server_config
Get A2AServerConfig from an agent's a2a configuration. Args: agent: The Agent instance to check. Returns: A2AServerConfig if
lib/crewai/src/crewai/a2a/utils/agent_card.py:83
↓ 3 callersFunction_getattr_for
Build a getattr side_effect that resolves the patched tool name to ``tool_cls`` while delegating every other lookup (e.g. the ``is_deprecated_
lib/crewai-tools/tests/test_generate_tool_specs.py:11
↓ 3 callersMethod_has_existing_data
True when either shard already holds persisted records.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:187
↓ 3 callersFunction_has_poetry_lockfile
Return True when the project has a Poetry lockfile.
lib/cli/src/crewai_cli/run_crew.py:386
↓ 3 callersFunction_has_uv_lockfile
Return True when the project has a uv lockfile.
lib/cli/src/crewai_cli/run_crew.py:380
↓ 3 callersFunction_is_chat_model
Heuristically reject embedding/audio/image/etc. models by their id.
lib/cli/src/crewai_cli/model_catalog.py:483
↓ 3 callersMethod_is_conversational
(cls)
lib/crewai/src/crewai/experimental/conversational_mixin.py:793
↓ 3 callersMethod_is_conversational_enabled
(self)
lib/crewai/src/crewai/experimental/conversational_mixin.py:797
↓ 3 callersFunction_is_conversational_flow
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:57
↓ 3 callersFunction_is_interactive
()
lib/cli/src/crewai_cli/tui_picker.py:22
↓ 3 callersFunction_is_relative_to
(path: Path, root: Path)
lib/crewai/src/crewai/project/json_loader.py:837
↓ 3 callersFunction_is_test_environment
Detect if we're running in a test environment.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:186
↓ 3 callersFunction_json_schema_valid
Return True if *instance* validates against *schema*.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:25
↓ 3 callersMethod_locked
Return a cross-process lock context manager, or nullcontext if no lock name.
lib/crewai/src/crewai/rag/chromadb/client.py:78
↓ 3 callersMethod_login_to_tool_repository
(self)
lib/cli/src/crewai_cli/authentication/main.py:27
↓ 3 callersFunction_looks_like_windows_absolute_path
(value: str)
lib/crewai/src/crewai/project/json_loader.py:1792
↓ 3 callersMethod_make_agent_state
(self)
lib/crewai/tests/test_checkpoint.py:656
↓ 3 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id (simulating first-time user).
lib/crewai/tests/tracing/test_tracing.py:1076
↓ 3 callersFunction_make_formatter
(monkeypatch)
lib/crewai/tests/utilities/test_console_formatter_tui_mode.py:9
↓ 3 callersMethod_make_handler_with_manager
Create a FirstTimeTraceHandler wired to a TraceBatchManager.
lib/crewai/tests/tracing/test_tracing.py:1324
↓ 3 callersFunction_make_key
Create a cache key from file hash and provider.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:55
↓ 3 callersMethod_make_messages_for_n_chunks
Build a message list that will produce exactly *n* chunks. Each message has 400 chars (~100 tokens). With max_tokens=100 returned by
lib/crewai/tests/utilities/test_agent_utils.py:698
↓ 3 callersMethod_mark_todo_running
(self, todo: TodoItem)
lib/crewai/src/crewai/experimental/agent_executor.py:441
↓ 3 callersFunction_merge_flow_method_definition
( wrapper: FlowMethod[P, R], definition: FlowMethodDefinition, )
lib/crewai/src/crewai/flow/dsl/_utils.py:109
↓ 3 callersFunction_module_is_project_local
(module: Any, project_root: Path)
lib/crewai/src/crewai/project/json_loader.py:825
↓ 3 callersMethod_observe_completed_step
Observe a completed step via LLM or a lightweight heuristic.
lib/crewai/src/crewai/experimental/agent_executor.py:569
↓ 3 callersMethod_open_deployment_page
Open the deployment show page in the user's browser when possible.
lib/cli/src/crewai_cli/deploy/main.py:220
↓ 3 callersMethod_open_shard
Open an existing shard or create a new one at *path*.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:153
↓ 3 callersFunction_poll_pr_until_merged
Poll a GitHub PR until it is merged. Exit if closed without merging. Args: branch_name: Branch name to look up the PR. label: Hum
lib/devtools/src/crewai_devtools/cli.py:830
↓ 3 callersMethod_pop_task_state
Return the start-time state for a completion/failure event's task. Tasks can run async/overlapping, so the event's task identity is m
lib/cli/src/crewai_cli/crew_run_tui.py:1831
↓ 3 callersMethod_prepare_completion_params
( self, messages: list[LLMMessage], tools: list[dict[str, Any]] | None = None )
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:344
↓ 3 callersMethod_prepare_git_repository
Prepare Git for deploy while preserving remote deploy when possible.
lib/cli/src/crewai_cli/deploy/main.py:367
↓ 3 callersFunction_prune_sqlite
(db_path: str, keep: int | None, older_than: timedelta | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:673
↓ 3 callersFunction_python_reference_definition_errors
( defn: dict[str, Any], source: str | Path, )
lib/crewai/src/crewai/project/json_loader.py:1226
↓ 3 callersFunction_read_json
(path: Path)
lib/cli/src/crewai_cli/model_catalog.py:583
↓ 3 callersMethod_register_handler
Register a handler for the given event type. Args: event_type: The event class to listen for handler: The handler fun
lib/crewai/src/crewai/events/event_bus.py:217
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_delete: bool)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:172
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_kill: bool)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:171
↓ 3 callersMethod_remember_responses_only_model
Record that this model must use the Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1706
↓ 3 callersFunction_resolve_callable_fields
( kwargs: dict[str, Any], source: str | Path, *, scalar_fields: set[str], list_fields: set
lib/crewai/src/crewai/project/json_loader.py:1506
↓ 3 callersFunction_resolve_crew_inputs
Resolve kickoff inputs for a declarative crew. Mirrors the declarative-flow experience (``_resolve_flow_inputs``): layers ``--inputs`` over t
lib/cli/src/crewai_cli/run_crew.py:179
↓ 3 callersFunction_resolve_crew_skills
Resolve crew-level skill paths once so agents don't repeat the work.
lib/crewai/src/crewai/crews/utils.py:57
↓ 3 callersFunction_resolve_model_class
( value: Any, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1539
↓ 3 callersFunction_resolve_object_reference_fields
( kwargs: dict[str, Any], source: str | Path, fields: set[str], project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1447
↓ 3 callersFunction_resolve_result
Resolve a potentially async result to its value.
lib/crewai/src/crewai/project/wrappers.py:140
↓ 3 callersMethod_run
(self, search_query: str, max_results: int = 5)
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:43
↓ 3 callersMethod_run
Execute the Agent Handler tool with the given arguments.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:117
↓ 3 callersMethod_run
( self, url: str | None = None, format: str | None = None, data_format: str |
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_unlocker.py:106
↓ 3 callersFunction_run_with_events
(flow, inputs=None)
lib/crewai/tests/test_flow_from_definition.py:506
↓ 3 callersMethod_send_events_to_backend
Send buffered events to backend with graceful failure handling
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:280
↓ 3 callersFunction_set_agent_fingerprint
Set fingerprint data on an event from an agent object.
lib/crewai/src/crewai/events/types/agent_events.py:123
↓ 3 callersMethod_set_flow_step_status
Update a flow method step's status. Caller must hold ``self._lock``.
lib/cli/src/crewai_cli/crew_run_tui.py:726
↓ 3 callersMethod_set_result
Set the final result after streaming completes. Args: result: The final CrewOutput.
lib/crewai/src/crewai/types/streaming.py:569
↓ 3 callersMethod_set_streams
Set the read and write streams. Args: read: Read stream. write: Write stream.
lib/crewai/src/crewai/mcp/transports/base.py:100
↓ 3 callersFunction_setup_after_llm_call_hooks
Setup and invoke after_llm_call hooks for the executor context. Args: executor_context: The executor context to setup the hooks for.
lib/crewai/src/crewai/utilities/agent_utils.py:1871
↓ 3 callersMethod_should_defer_session_finalization
True when the active trace belongs to a deferred flow session.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:761
↓ 3 callersMethod_skill_dir
(self, org: str, name: str)
lib/crewai/src/crewai/skills/cache.py:41
↓ 3 callersFunction_skill_response
(name: str, version: str | None = None)
lib/crewai/tests/skills/test_registry.py:35
↓ 3 callersMethod_start_condition
( self, method_name: FlowMethodName )
lib/crewai/src/crewai/flow/runtime/__init__.py:517
↓ 3 callersMethod_start_method_names
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:496
↓ 3 callersMethod_stub_llm
()
lib/crewai/tests/hooks/test_llm_hooks.py:610
↓ 3 callersMethod_stub_transport
Reject like GPT-5.6 until an explicit reasoning_effort="none" arrives. The reasoning planner calls the LLM with its own `available_functions`
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:237
↓ 3 callersFunction_success
(message: str, *, bold: bool = False, dim: bool = False)
lib/cli/src/crewai_cli/create_json_crew.py:280
↓ 3 callersFunction_task_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:901
↓ 3 callersFunction_task_list_from_meta
(meta: dict[str, Any])
lib/cli/src/crewai_cli/checkpoint_cli.py:511
↓ 3 callersFunction_to_definition_condition
(condition: FlowTrigger)
lib/crewai/src/crewai/flow/dsl/_conditions.py:75
↓ 3 callersFunction_truncate_log_text
(value: Any, limit: int)
lib/cli/src/crewai_cli/crew_run_tui.py:49
↓ 3 callersFunction_user_data_lock_name
Return a stable lock name for the user data file.
lib/crewai-core/src/crewai_core/user_data.py:29
↓ 3 callersFunction_validate_format
Validate content type against supported formats. Args: file_type: Type label for error messages (e.g., "Image", "Audio"). filenam
lib/crewai-files/src/crewai_files/processing/validators.py:194
↓ 3 callersFunction_write_local_skill
Write a project-local ./skills/<name>/SKILL.md under *tmp_path*.
lib/crewai/tests/skills/test_registry.py:62
↓ 3 callersMethodacall
Async call to Anthropic messages API. Args: messages: Input messages for the chat completion tools: List of tool/func
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:413
↓ 3 callersFunctionaclear_files
Clear files for a crew execution asynchronously. Args: execution_id: Unique identifier for the crew execution.
lib/crewai/src/crewai/utilities/file_store.py:98
↓ 3 callersMethodadd
(self, mdx: str)
lib/crewai-tools/src/crewai_tools/tools/mdx_search_tool/mdx_search_tool.py:39
↓ 3 callersMethodadd
(self, csv: str)
lib/crewai-tools/src/crewai_tools/tools/csv_search_tool/csv_search_tool.py:39
↓ 3 callersMethodadd
(self, docx: str)
lib/crewai-tools/src/crewai_tools/tools/docx_search_tool/docx_search_tool.py:45
↓ 3 callersMethodadd
(self, pdf: str)
lib/crewai-tools/src/crewai_tools/tools/pdf_search_tool/pdf_search_tool.py:40
↓ 3 callersMethodadd_edge
Add an edge from this node to another. Args: edge_type: The relationship type. target_id: The event_id of the target
lib/crewai/src/crewai/state/event_record.py:78
↓ 3 callersMethodadd_sources
(self)
lib/crewai/src/crewai/knowledge/knowledge.py:154
↓ 3 callersMethodadelete
Async delete an uploaded file. Default implementation runs sync delete in executor. Override in subclasses for native async support.
lib/crewai-files/src/crewai_files/uploaders/base.py:86
↓ 3 callersMethodaget_by_hash
Get a cached upload by file hash. Args: file_hash: Hash of the file content. provider: The provider name. Re
lib/crewai-files/src/crewai_files/cache/upload_cache.py:207
↓ 3 callersFunctionaget_files
Retrieve files for a crew execution asynchronously. Args: execution_id: Unique identifier for the crew execution. Returns: D
lib/crewai/src/crewai/utilities/file_store.py:81
↓ 3 callersMethodall_of
(self, event_type: type[BaseEvent])
lib/crewai/tests/events/test_event_ordering.py:50
↓ 3 callersMethodanimateEdgeWidth
( edges, edgeId, targetWidth, duration = CONSTANTS.EDGE.ANIMATION_DURATION, )
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:584
↓ 3 callersMethodanimateToPosition
(targetPosition)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2391
↓ 3 callersMethodappend_agent_result
Record an agent result, optionally making it visible to the user.
lib/crewai/src/crewai/experimental/conversational_mixin.py:606
↓ 3 callersFunctionappend_message
Append a message to ``state.messages`` or the flow fallback buffer.
lib/crewai/src/crewai/flow/conversation.py:116
↓ 3 callersFunctionapply_execution_context
Write an ExecutionContext back into the ContextVars.
lib/crewai/src/crewai/context.py:120
↓ 3 callersMethodareset
(self)
lib/crewai/tests/agents/test_agent.py:1926
↓ 3 callersMethodasave
Save documents to the knowledge base asynchronously. Args: documents: List of document strings to save.
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:181
↓ 3 callersMethodasearch
Search for documents in the knowledge base asynchronously. Args: query: List of query strings. limit: Maximum number
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:138
↓ 3 callersMethodaset_by_hash
Cache an uploaded file by hash. Args: file_hash: Hash of the file content. content_type: MIME type of the file.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:262
← previousnext →1,001–1,100 of 13,282, ranked by callers